[Top][All Lists]

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

Function "find()" bug?

From: John W. Eaton
Subject: Function "find()" bug?
Date: Mon, 12 Mar 2007 13:45:55 -0400

On 12-Mar-2007, Michal Seidl wrote:

| Hi,
| I have some script for 2.1.36 windows forge releas, where I use this 
| statement
| a [1 2]
| [a] ~= []
| In 2.1.73 windows forge releas the same statement crashes because "a" 
| and "[]" have  different dimension.

I think you should use isempty to test whether a marix is or is not

| I also find that in older ver. find(3 == [1 2]) gives [](0x0) and in new 
| [](1x0) so Octave can not compare them. Is it bug or what?

The newer result is the correct one.  The old version is the one with
the bug.


reply via email to

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