[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63082] eig(NaN) and eig(Inf) triggers a hard
From: |
Johannes Pfeifer |
Subject: |
[Octave-bug-tracker] [bug #63082] eig(NaN) and eig(Inf) triggers a hard error instead of returning NaN |
Date: |
Tue, 20 Sep 2022 06:16:27 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63082>
Summary: eig(NaN) and eig(Inf) triggers a hard error instead
of returning NaN
Project: GNU Octave
Submitter: jpfeifer
Submitted: Tue 20 Sep 2022 10:16:25 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Johannes Pfeifer
Originator Email:
Open/Closed: Open
Release: 7.2.0
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 20 Sep 2022 10:16:25 AM UTC By: Johannes Pfeifer <jpfeifer>
In Matlab
eig(Inf)
and
eig(NaN)
return NaN. In Octave, the code will instead crash with
> error: EIG: matrix contains Inf or NaN values
This requires to add an additional exception handling layer.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63082>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63082] eig(NaN) and eig(Inf) triggers a hard error instead of returning NaN,
Johannes Pfeifer <=