|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #54576] MATLAB inconsistency when assigning to nonexistent variable using subsref (:) |
| Date: | Mon, 27 Aug 2018 13:59:14 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Update of bug #54576 (project octave):
Category: None => Interpreter
Severity: 3 - Normal => 2 - Minor
Priority: 5 - Normal => 3 - Low
Status: None => Confirmed
Release: 4.4.1 => dev
_______________________________________________________
Follow-up Comment #2:
Confirmed. I lowered the severity and the priority since there are
workarounds available (don't use ':' indexing on non-existent variables).
This does seem like something worth modifying since I'm sure people code with
the ':' even when they don't need it.
Could you also run these tests in Matlab
clear all
a(:,:) = [4:6]
b(1:3,:) = [4:6]
c(:) = magic (3)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54576>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |