|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #59899] colon operator returns incompatible class for integer inputs |
Date: | Fri, 5 Mar 2021 11:49:35 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Update of bug #59899 (project octave): Status: Confirmed => Ready For Test _______________________________________________________ Follow-up Comment #9: I fixed the final issue in this bug report (emitting an error when mixed integer and floating point inputs to colon operator are incompatible) in this changeset http://hg.savannah.gnu.org/hgweb/octave/rev/65979d33f147. Matlab emits different error messages when a non-integer is used versus a situation where the value is outside of the range of the integer type. I didn't think we needed to be that specific so I just emit one error message for both situations. For example, uint8(1):5.5 error: colon operator upper bound invalid (not an integer or out of range for given integer type) uint8(1):300 error: colon operator upper bound invalid (not an integer or out of range for given integer type) Marking as Ready for Test. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59899> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |