octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Another lazy_index bug?


From: Jarno Rajahalme
Subject: Another lazy_index bug?
Date: Mon, 10 May 2010 19:58:20 -0700

$ octave
GNU Octave, version 3.3.51+
...
octave:1> 1(find([1 1] != 0))
ans =

    1.0000e+00   2.1617e-314

octave:2> 1(find([1 1] != 0)+0)
error: A(I): index out of bounds; value 2 out of bound 1
octave:2> 

The result on the prompt 1 above is clearly incorrect. Saving a result of the 
find above, and looking at the file tells that the result is a "lazy_index".

Any ideas?

  Jarno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]