On 18-Aug-2008, David Bateman wrote: | Luca Favatella wrote: | > Hi. | > | > I have Octave 3.0.1 from Debian testing "Lenny" repository. | > | > | > The ranks function doc says that it returns a _column_ vector, instead | > the function returns a _row_ vector. | > | > | > | > HOW TO REPPRODUCE THIS BUG | > | > Step #1 | > | > If I type: | > help ranks | > I read: | > "If X is a vector, return the (column) vector of ranks of X adjusted | > for ties." | > | > (it says _column_ vector) | > | > | > Step #2 | > | > If I type: | > "size (ranks (1:3))" | > I get: | > ans = | > 1 3 | > | > | I suppose this happened when ranks was converted for use with | NDArrays... Though to me the new behavior makes more sense and I'd | propose fixing the documentation string instead with the attached patch. | This should be applied to both 3.1.51+ and 3.0.1+
I applied it to my archive. Thanks, jwe ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
