[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility |
Date: |
Sat, 9 Apr 2022 11:58:19 -0400 (EDT) |
Update of bug #62277 (project octave):
Status: Patch Submitted => Patch Reviewed
_______________________________________________________
Follow-up Comment #8:
I reviewed both the functional patch and the documentation change and it looks
good to me. Marking as "Patch Reviewed".
One thing I would change is to remove the @qcode macro from the word
"economy". The @qcode macro is to be used for actual code that a user would
type. But it is impossible to call
qr (..., "economy")
The @qcode is used several times incorrectly around the word "economy".
This has nothing to do with the current patch, but I found it while reviewing.
The following code with an error produces a message which would be easier to
understand if the malformed argument was in quotes.
qr (magic(3), 'econonomy')
error: qr: type for P must be 'matrix' or 'vector', not econonomy
I think this would be easier if the message said
error: qr: type for P must be 'matrix' or 'vector', not "econonomy"
It should be simple to change the error message format string to add quotes
around the bad argument.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62277>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, (continued)
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Arun Giridhar, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Arun Giridhar, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Markus Mützel, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Arun Giridhar, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Markus Mützel, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Markus Mützel, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Arun Giridhar, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, John W. Eaton, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Arun Giridhar, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, John W. Eaton, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility,
Rik <=
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Arun Giridhar, 2022/04/09
- [Octave-bug-tracker] [bug #62277] QR needs to accept "econ" argument for Matlab compatibility, Rik, 2022/04/09