|
From: | Amro |
Subject: | [Octave-bug-tracker] [bug #53007] logical scalar values are transformed to doubles upon indexing |
Date: | Fri, 2 Feb 2018 01:16:58 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 |
Follow-up Comment #7, bug #53007 (project octave): @Rik In MATLAB R2017a: >> x = false; >> x(1) = 2i; Complex values cannot be converted to logicals. In fact this applies in general: >> logical(2i) Error using logical Complex values cannot be converted to logicals. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53007> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |