From: Carnë D. <car...@gm...> - 2012-10-22 14:47:22
|
On 21 October 2012 15:15, <gio...@un...> wrote: > Hi! > there is a difference between matlab's minmax, and octave nnet pkg's min_max. > > In matlab: > minmax([1 2 3 4 3 4 5 6 4 3 4 5]) > gives > ans = > 1 6 > > In octave with nnet: > min_max([1 2 3 4 3 4 5 6 4 3 4 5]) > gives > error: Argument must be a matrix. > > Octave does not like the input image to be a single line. > > Best regards! > Ciao > Giorgio Hi Giorgio I'm sending this e-mail to the package maintainer, Michael Schmid, but its last release was almost 2 years ago. Could you please report the bug at https://sourceforge.net/p/octave/bugs/ And of course, if you are able to attach a patch too that would be great. I just tok a look at its source and should not be too difficult. And to create a patch (against the dev version), the following command will do it: svn diff > ~/bugfix.diff Carnë |