[bug #68254] Error computing the 2-norm of a zero sparse matrix.

Rik <[email protected]> Mon, 20 Apr 2026 15:15:11 -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 #5, bug #68254 (group octave):

I should have caught that *sparse(0,0)*, but I also was relying on the tests.
I fixed it in cset de6ad697e64d.

However, this does reveal that there is something wrong with the *test()*
function.  I added a bogus test

%!assert (0, 1)

and running *test data.cc* still passed.  The test is correctly being
extracted to the file *data.cc-tst*, so the problem is with *test.m*.

This is a whole different bug report.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68254>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaeZ7PwAKCRCqLAuaBUf3
Tu+wAP9Zx8bYshj5VI7bQiVVmhIAl/UcYcHKSTUS+QsXoPg5wQD8C+AdSgf3moU/
cdihZ07m5QgD5+w7PytIQgaMcNoLHQE=
=qMlR
-----END PGP SIGNATURE-----