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

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

[Octave-bug-tracker] [bug #53880] (x<1)(1) depends on x(2):


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53880] (x<1)(1) depends on x(2):
Date: Sat, 12 May 2018 16:16:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #8, bug #53880 (project octave):

My preference would even be an outright error.  I mean, I'd hope there is no
code in any packages that are expecting some type of behavior for the order
operators on complex numbers or vectors.  It's not very difficult to
explicitly indicate


octave:12> (real(x)<1)(1)
ans = 1
octave:13> (abs(x)<1)(1)
ans = 0


or for vectors


octave:30> x = magic(3);
octave:31> norm(x,'cols') < 10
ans =

  1  0  1


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53880>

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




reply via email to

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