|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #60786] mpower: negative scalar to power of matrix containing non-integers returns nan |
Date: | Tue, 22 Jun 2021 16:57:33 -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 |
Update of bug #60786 (project octave): Status: Confirmed => Ready For Test _______________________________________________________ Follow-up Comment #6: Do you have a test case for scalars raised to complex powers that I can use for testing? I asked about the complicated structure of xpow.cc at an Octave Developer's Meeting today. The reason is that this was coded back in the late '90s before templating was widespread. Simplification is possible, but the easiest thing right now is just to fix the code, rather than rewrite this file. Maybe sometime in the future that can happen. I pushed a changeset here (http://hg.savannah.gnu.org/hgweb/octave/rev/540f25090412) that fixes the example cited in comment #0. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60786> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |