[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33221] subsasgn without LHS should do in-plac
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #33221] subsasgn without LHS should do in-place assignment for performance |
Date: |
Fri, 22 Jul 2022 15:33:35 -0400 (EDT) |
Follow-up Comment #4, bug #33221 (project octave):
Several issues here, but the simplest first: the comment #3 docstring note is
correct. the command as written returns the substituted result in 'ans', and
is not the same as the command in the last line. if the 4th line in the
example read:
val = subsasgn (val, idx, 0)
the rest of the docstring would be correct. I've made this simple docstring
change and pushed it to stable as:
https://hg.savannah.gnu.org/hgweb/octave/rev/44b9673c7b8d
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?33221>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #33221] subsasgn without LHS should do in-place assignment for performance,
Nicholas Jankowski <=