octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53441] magic.m:Not producing warning, error w


From: Dildar Sk
Subject: [Octave-bug-tracker] [bug #53441] magic.m:Not producing warning, error where MATLAB doing for negative no
Date: Fri, 23 Mar 2018 09:32:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?53441>

                 Summary: magic.m:Not producing warning,error where MATLAB
doing for negative no
                 Project: GNU Octave
            Submitted by: hodor123456
            Submitted on: Fri 23 Mar 2018 01:32:12 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Missed Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Dildar Sk
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

In MATLAB,


>> magic (-2)
Subscript indices must either be real positive integers or
logicals.

Error in magic (line 35)
   M([i; i+p],j) = M([i+p; i],j);


Where in Octave,


>> magic (-2)
ans = [](0x0)





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53441>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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