|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #60784] Inconsistent behavior for boolean matrix types with matrix functions |
Date: | Wed, 16 Jun 2021 00:12:47 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #4, bug #60784 (project octave): Looking at libinterp/corefcn/eig.cc, it contains the test if (! arg_a.isfloat ()) err_wrong_type_arg ("eig", arg_a); and isfloat is only true for single or double objects. I'll bet that's a very old check? Anyway, if it is removed, eig will work because the rest of the function allows conversions if possible. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60784> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |