[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:1.9.2.13) 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:
<http://savannah.gnu.org/bugs/?36535>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/