|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #51252] incorrect type casting of colon operator ':' |
Date: | Tue, 20 Jun 2017 07:13:23 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #3, bug #51252 (project octave): Output in Matlab R2016a: >> x = int32 (1) : 0.25 : int32 (3) Error using : Double operands interacting with int32 operands must have integer values. >> class (uint8 (1) : 3) ans = uint8 >> class (1 : uint8 (3)) ans = uint8 >> class (int32 (1) : uint8 (3)) Error using : Colon operands must be all the same type, or mixed with real scalar doubles. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51252> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |