|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #36535] sort(randperm(X, Y) returns duplicates |
Date: | Thu, 24 May 2012 15:58:17 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5 |
URL: <http://savannah.gnu.org/bugs/?36535> Summary: sort(randperm(X,Y) returns duplicates Project: GNU Octave Submitted by: None Submitted on: Thu 24 May 2012 03:58:16 PM UTC Category: Interpreter Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Patrick Tierney Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 3.6.1 Operating System: Microsoft Windows _______________________________________________________ Details: Not sure if this a bug in the new randperm(X,M) or in sort() but I just got output [2 3 3 6 10 ...] when calling sort(randperm(305,30)). This is a one-time error. Repeated calls produce correct values. Using 3.6.1 mingw version on Win7. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?36535> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |