|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #61305] In linear-algebra/null.m function, line 63 should use upper case S instead of the lower case s. rank = sum (S > tol) |
Date: | Thu, 7 Oct 2021 12:17:56 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 |
Update of bug #61305 (project octave): Status: Need Info => Fixed Open/Closed: Open => Closed Release: 6.3.0 => dev _______________________________________________________ Follow-up Comment #3: The issue is actually with the extraction of a single value from a Diagonal Matrix. This replacement code (diff format) silences the warning message. - if (rows (A) > 1) + ## Extract column vector from Diagonal Matrix which depends on size + if (rows (S) > 1) s = diag (S); else - s = S.'; + s = S(1); end I checked in a patch on the development branch (http://hg.savannah.gnu.org/hgweb/octave/rev/c14a536a41cd) that will become Octave 7 at the end of the year. Marking as Fixed and closing report. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61305> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |