You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2013/08/10 02:27:49 UTC
[jira] [Resolved] (MATH-1020) "nextPermutation" method broken (in
class "o.a.c.m.random.RandomDataGenerator")
[ https://issues.apache.org/jira/browse/MATH-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles resolved MATH-1020.
--------------------------
Resolution: Fixed
> "nextPermutation" method broken (in class "o.a.c.m.random.RandomDataGenerator")
> -------------------------------------------------------------------------------
>
> Key: MATH-1020
> URL: https://issues.apache.org/jira/browse/MATH-1020
> Project: Commons Math
> Issue Type: Bug
> Reporter: Gilles
> Fix For: 3.3
>
> Attachments: MATH-1020.patch
>
>
> Correct behaviour of this method relied on the [broken behaviour of "shuffle"|MATH-1019].
> With a fixed "shuffle", the "nextSample()" unit test caught the bug in this method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira