|
From: | Travis Arnold |
Subject: | [Octave-bug-tracker] [bug #51270] isdefinite should return 0 for zero matrices |
Date: | Mon, 19 Jun 2017 15:05:33 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?51270> Summary: isdefinite should return 0 for zero matrices Project: GNU Octave Submitted by: teerav42 Submitted on: Mon 19 Jun 2017 07:05:32 PM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.0.3 Operating System: GNU/Linux _______________________________________________________ Details: isdefinite currently returns -1 for any zero matrix that is passed to it. Clearly it should return 0. I attach a patch that fixes this behavior. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 19 Jun 2017 07:05:32 PM UTC Name: isdefinite.patch Size: 2kB By: teerav42 <http://savannah.gnu.org/bugs/download.php?file_id=40939> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51270> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |