|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #61762] qp should check positive definiteness |
Date: | Sat, 8 Jan 2022 13:14:37 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.62 |
Follow-up Comment #5, bug #61762 (project octave): The order in which fields appear in a structure is important. (Or it can cause issues when trying to concatenate these structures.) That's the kind of error that I was trying to hint at with my comment. (Though admittedly "a lot" was probably an exaggeration.) Also in the code further down in qp.m, there are some checks for nargout. Would we need to replicate those here? I'm still not sure if it is a good idea to replicate that code (from a maintainability point of view). I haven't looked into it in much detail. But might that cause the function to return a value when it otherwise would error out at some of the tests that are skipped? (Also, I haven't come across "quadratic" as a synonym for "positive definite". Do those mean the same?) _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61762> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |