[bug #68238] linsolve: 2nd output should return rcond for square matrix, rank for nonsquare
Markus Mützel <[email protected]> Mon, 20 Apr 2026 05:52:34 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.
Follow-up Comment #6, bug #68238 (group octave):
The new test fails on the macOS runners on GitHub.
E.g.:
https://github.com/gnu-octave/octave/actions/runs/24579834712/job/71874517522#step:14:1522
>>>>> processing
>>>>> /Users/runner/work/octave/octave/scripts/linear-algebra/linsolve.m
***** test <*68238>
A = hilb (4);
b = [1:4]';
[x, R] = linsolve (A, b);
assert (x, [-64; 900; -2520; 1820], -3e-13);
assert (R, rcond (A));
!!!!! regression: https://octave.org/testfailure/?68238
ASSERT errors for: assert (x,([-64; 900; -2520; 1820]),-3e-13)
Location | Observed | Expected | Reason
(1) -64 -64 Rel err 3.5882e-13 exceeds tol 3e-13
by 6e-14
Is that an actual issue? Or can the tolerance be relaxed in this test (e.g.,
from -3e-13 to -4e-13)?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68238>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaeX3YgAKCRCqLAuaBUf3 ThT2AQDculvJgw4528nkg/dMyaqgW8h4ouxI1VvwrzbYECRB+AD+ILvJaydsXMhV GUuRgHJ/KiF2CKUsN4KODi9qDIlMrws= =M2ya -----END PGP SIGNATURE-----