[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36535] sort(randperm(X, Y) returns duplicates

From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #36535] sort(randperm(X, Y) returns duplicates
Date: Thu, 24 May 2012 16:13:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110109 Webrobin/3.6.13

Update of bug #36535 (project octave):

                  Status:                    None => Confirmed              


Follow-up Comment #1:

Yeah, confirmed. Something is wrong with randperm. I made the current
implementation, so I probably made a mistake somewhere.

This reproduces it for me:

rand("seed", 30); sort(randperm(305,30))


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]