octave-maintainers
[Top][All Lists]
Advanced

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

Re: 3.6.1: undocumented changes to randperm?


From: Ben Abbott
Subject: Re: 3.6.1: undocumented changes to randperm?
Date: Fri, 02 Mar 2012 07:33:40 -0500

On Mar 2, 2012, at 7:14 AM, Juan Pablo Carbajal wrote:

> Hi,
> 
> I am comparing the output of
> randperm(5,3)
> 
> in 3.4.3 and 3.6.1
> 
> In 3.4.3 this creates a matrix with 3 random permutations
>   4   1   2   3   5
>   4   3   2   5   1
>   3   2   1   4   5
> 
> In 3.6.1 this gives a permutation of 5 integers of length 3.
> 
> I am ok with the change, but searching the output of
>> news
> in 3.6.1 I do not find anything about randperm
> 
> Is this an undocumented change?
> 
> Thanks

The changeset is below.

        http://hg.savannah.gnu.org/hgweb/octave/rev/2896c083576a

The current implementation is compatible with Matlab. Compatibility fixes are 
treated like bugs, which we normally don't mention in the NEWS file.

Ben


reply via email to

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