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

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

[Octave-bug-tracker] [bug #33304] power operator precedence and directio


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #33304] power operator precedence and direction
Date: Thu, 10 Oct 2013 16:19:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130810 Firefox/17.0 Iceweasel/17.0.8

Update of bug #33304 (project octave):

                  Status:               Confirmed => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #9:

I must admit that I'm a bit confused by the comment


The unary operators have to be duplicated because of the context-dependence
(lower precedence before the power expression, higher inside).


In any case, I had forgotten about this bug report and recently tried to fix
this problem because there is now a test for it in the development version of
Octave.  I couldn't come up with anything that would work without breaking
something else.  But I wasn't trying to give operators context-dependent
precedence either...

I've applied a slightly modified version of Axel's patch here:

http://hg.savannah.gnu.org/hgweb/octave/rev/fd712a12fe53

so this problem should be fixed in the upcoming 3.8 release.

It seems to fix the problem for me without introducing any new test failures
so I'm closing this report.

Thanks, and sorry about the year long delay.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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