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 17:15:53 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Update of bug #54491 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

Copying the first 4 line into an .m function "bug54491a" (replacing function
name "test" as that's an Octave function by "bug54491a") and then:

>> bug54491a
>> global a;
a = 1;
z=[7 8] 
z =
     7     8
>> z(a) ^=- bug54491a()
 z(a) ^=- bug54491a()
       ↑
Error: Incorrect use of '=' operator. To assign a value to a variable, use
'='. To compare
values for equality, use '=='.


Please get yourself behind a PC with Matlab and report what Matlab does (use
'verbatim' tags, see site help to the left) before claiming Octave does it
wrong. 

Closing as invalid.

    _______________________________________________________

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]