[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #66563] ezplot of constant fcn fails: error: e
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #66563] ezplot of constant fcn fails: error: error: XX(0): subscripts must be either integers 1 to (2^63)-1 or logicals |
Date: |
Tue, 31 Dec 2024 17:11:22 -0500 (EST) |
Update of bug #66563 (group octave):
Status: In Progress => Patch Submitted
Fixed Release: None => 10.1.0 (current default)
_______________________________________________________
Follow-up Comment #5:
@Colin: Attached is a patch which fixes ezplot and ezpolar when called with
constant functions. I added the BIST test you wrote to this proto-changeset.
I'm not that motivated to do more since Matlab doesn't plot contours of
constant functions (See
https://octave.discourse.group/t/need-matlab-test-of-constant-functions/6082/2).
If you do want to do more then the third patch (replacing feval with local
version that does constant expansion) is a good approach. However, for
performance it would need to be vectorized. A for loop will be too slow.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66563>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature