From bug-request at octave dot org Thu Jan 20 11:42:09 2005 Subject: Re: cross.m doesn't work when warn_resize_on_range_error = 1 From: Thomas Weber To: "John W. Eaton" Cc: bug at octave dot org Date: Thu, 20 Jan 2005 11:31:56 -0600 Hello, > | octave:1> warn_resize_on_range_error = 1; a=[1;2;3]; > | octave:2> cross(a,a) > | error: resizing object with index = 1 out of bounds > | error: assignment failed, or no method for `cell = range' > | error: evaluating assignment expression near line 76, column 13 > | error: evaluating for command near line 75, column 3 > | error: called from `cross' in file `/usr/share/octave/2.1.64/m/linear-algebra/cross.m' > > Please try the following patch. Thanks, the patch works. Sorry for being quiet so long, I had some other work to do. Regards Thomas ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------