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

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

[Octave-bug-tracker] [bug #60786] mpower: negative scalar to power of ma


From: Rik
Subject: [Octave-bug-tracker] [bug #60786] mpower: negative scalar to power of matrix containing non-integers returns nan
Date: Wed, 30 Jun 2021 12:40:02 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36

Follow-up Comment #18, bug #60786 (project octave):

@jwe: Bummer.  This is why I made many small changesets so each one could be
reversed as necessary.  I'll take a look later today or tomorrow.  If the
std::pow template really doesn't work well with Complex arguments with
imaginary parts then I think we will need to duplicate the testing logic in
many more of the templates in xpow.cc.  In other words, reversing the
changeset is probably not enough.  We will need to examine every instance
where a Complex value is used and potentially add a test.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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