From bug-octave-request at bevo dot che dot wisc dot edu Tue Nov 25 22:31:34 2003 Subject: 2.1.52 - observed problems From: "John W. Eaton" To: Schloegl Alois Cc: bug-octave at bevo dot che dot wisc dot edu Date: Tue, 25 Nov 2003 22:31:33 -0600 On 25-Nov-2003, Schloegl Alois wrote: | 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 These should all be fixed in CVS now. Thanks, jwe ------------------------------------------------------------- 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 -------------------------------------------------------------