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

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

[Octave-bug-tracker] [bug #54491] Order of evaluation of power with unit


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #54491] Order of evaluation of power with unitary operators
Date: Sat, 11 Aug 2018 14:25:47 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #1, bug #54491 (project octave):

Matlab r2018b prerelease;

>> z = 3;
>> out = z(a=1)^-(a=2);
 out = z(a=1)^-(a=2);
          ↑
Error: Incorrect use of '=' operator. To assign a value to a variable, use
'='. To compare
values for equality, use '=='.


This bug report isn't a strong story ... :-)

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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