From bug-octave-request at bevo dot che dot wisc dot edu Tue Nov 25 22:28:48 2003 Subject: 2.1.52 - observed problems From: Schloegl Alois To: bug-octave at bevo dot che dot wisc dot edu Date: Tue, 25 Nov 2003 17:47:08 -0600 Thanks for ND-arrays in Octave 2.1.52. Here are a few problems, I observed in 2.1.52: octave:28> log(0:3) error: octave_base_value::array_value(): wrong type argument `range' The same problem can be observed in other functions. octave:36> sin(0:3) error: octave_base_value::array_value(): wrong type argument `range' octave:36> tan(0:3) error: octave_base_value::array_value(): wrong type argument `range' ## A workaround for this problem is the use of [], but I doubt this is intended. octave:28> log([0:3]); Here is another one: octave:40> x=randn(2,3,4); octave:41> logical(x) | logical(0) error: invalid converstion of boolNDArray to boolMatrix error: evaluating binary operator `|' near line 41, column 12 octave:41> logical(x) & logical(1) error: invalid converstion of boolNDArray to boolMatrix error: evaluating binary operator `&' near line 41, column 12 Alois ------------------------------------------------------------- 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 -------------------------------------------------------------