Modify

Opened 10 years ago

Closed 10 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 Changed 10 years ago by Valik

  • Milestone set to 3.3.5.2
  • Owner changed from Gary to Valik
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5649] in version: 3.3.5.2

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Valik.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.