octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54043] Octave crashes if eigs is called with


From: anonymous
Subject: [Octave-bug-tracker] [bug #54043] Octave crashes if eigs is called with singular B matrix
Date: Sun, 3 Jun 2018 05:50:09 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <http://savannah.gnu.org/bugs/?54043>

                 Summary: Octave crashes if eigs is called with singular B
matrix
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 03 Jun 2018 09:50:08 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Octave user
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

According to the documention, eigs can be used only for positive definite A
and B matrices. However if matrix A or B are not positive definite, an error
code should be returned or an exception should be thrown.

If you run the following example then octave crashes.


clear all;
load eigs_test.mat;
try
[v, lambda] = eigs(K, M);
catch
end_try_catch
fprintf(stderr, "test OK\n");





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 03 Jun 2018 09:50:08 AM UTC  Name: eigs_test.m  Size: 128B   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=44283>
-------------------------------------------------------
Date: Sun 03 Jun 2018 09:50:08 AM UTC  Name: eigs_test.mat  Size: 107KiB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=44284>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54043>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]