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

Martin K <[email protected]> Fri, 17 Apr 2026 16:44:49 -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.

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

                 Summary: Error computing the 2-norm of a zero sparse matrix.
                   Group: GNU Octave
               Submitter: grisu86
               Submitted: Fr 17 Apr 2026 20:44:45 UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 11.1.0
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fr 17 Apr 2026 20:44:45 UTC    By: Martin K <grisu86>
When compiling Octave with ARPACK, evaluating 


norm(sparse(100,100),2)


leads to the error


error: eigs: error in dsaupd: Starting vector is zero


In prevous version of Octave (pre Wed Jan 14 13:07:31 2026 -0500) or without
ARPACK, the correct "0" is returned. 

The bug is introduced by the git-commit (sorry, but git it more convinient for
me): 34a0b9e9bcaa633b6b50a720488fac3044a104d2








    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaeKbwQAKCRCqLAuaBUf3
Tk2zAP9nrzSw917IgrWl6A41yZPSwu0YfMwuUo/Z19YDoDC8qwEAx9DRvMEOlRnB
IK4GjFeJG1a6BwJA4F54I26LxdsaSQg=
=PzId
-----END PGP SIGNATURE-----