Page MenuHomeFeedback Tracker

BIS_fnc_sortNum and empty array
Closed, ResolvedPublic

Description

Calling

  • call BIS_fnc_sortNum

produces an error (division by zero), spams rpt and takes about 500ms according to

["[] call BIS_fnc_sortNum", nil, 1] call BIS_fnc_codePerformance

Details

Legacy ID
347411792
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting

Event Timeline

sms edited Steps To Reproduce. (Show Details)Oct 2 2014, 11:15 AM
sms edited Additional Information. (Show Details)
sms set Category to Scripting.
sms set Reproducibility to Always.
sms set Severity to None.
sms set Resolution to Fixed.
sms set Legacy ID to 347411792.May 7 2016, 7:32 PM
Bohemia added a subscriber: AD2001.Oct 2 2014, 11:15 AM

Should be fixed in the next dev branch update (probably tomorrow).

The function returns an empty array without any error, if you use an empty array as argument.