octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #63512] does not define the inequality of vect


From: Hartmut
Subject: [Octave-bug-tracker] [bug #63512] does not define the inequality of vectors
Date: Tue, 13 Dec 2022 15:13:58 -0500 (EST)

Follow-up Comment #2, bug #63512 (project octave):

I have re-written the test code from comment #0 in a way that it runs both
under Matlab and under Octave:


clearvars

a(1,1) = 1;
a(2,1) = 3;

b(1,1) = 1;
b(2,1) = 2;


if (a(:,1) ~= b(:,1))
 display('NOT EQUAL')
else
 display('Not NOT EQUAL')
end


Running this code under Octave (7.3.0) and under today's online Matlab, I get
the SAME result for both: "not NOT EQUAL". 

So I would consider the current Octave behavior Matlab compatible, and a
change of the result of the above test code would break Matlab compatibility.

Do I miss the point here, or is this issue INVALID? 

(Please do let me know why you think that this Octave behavior is a bug, if
you still have this opinion, dear original reporter of comment #0.)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63512>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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