Modify

Opened 16 years ago

Closed 16 years ago

#1438 closed Bug (Fixed)

_ArrayCombinations bug

Reported by: jchd Owned by: Valik
Milestone: 3.3.5.2 Component: Standard UDFs
Version: 3.3.4.0 Severity: None
Keywords: _ArrayCombinations, binomial Cc:

Description

There is a bug that shows up when using _ArrayCombinations with most values. In fact the bug is in a helper function.

Bug repro:

Local $aArray[8] = [1, 2, 3, 4, 5, 6, 7, 8]
$aArrayCombo = _ArrayCombinations($aArray, 3)

Fix in Array.au3, internal function --Array_Combinations:
Line 1485 was
Return $i_Total
change to:
Return Round($i_Total)

Forum discussion: http://www.autoitscript.com/forum/index.php?showtopic=109022

Attachments (0)

Change History (1)

comment:1 by Valik, 16 years ago

Milestone: 3.3.5.2
Owner: changed from Gary to Valik
Resolution: Fixed
Status: newclosed

Fixed by revision [5649] in version: 3.3.5.2

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.