Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1020

"nextPermutation" method broken (in class "o.a.c.m.random.RandomDataGenerator")

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Labels:
      None

      Description

      Correct behaviour of this method relied on the broken behaviour of "shuffle".
      With a fixed "shuffle", the "nextSample()" unit test caught the bug in this method.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                erans Gilles
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: