[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54576] MATLAB inconsistency when assigning to

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:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]