|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #46533] numel() returns negative values for large diagonal matrices |
Date: | Fri, 04 Dec 2015 23:34:33 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
Follow-up Comment #2, bug #46533 (project octave): @Nicholas: I also had the same idea. The issue is that internally the numel() function has been defined to return octave_idx_t which is either 2^31 or 2^63 depending on whether you have 64-bit indexing compiled in. Changing it will involve touching a lot of files and before doing that it would be good to get sign off from jwe and others on the Octave Maintainer's list. It does seem like the easiest solution though. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46533> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |