[Top][All Lists]

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

[Octave-bug-tracker] [bug #32901] "diag" returns empty matrix where matl

From: Rik
Subject: [Octave-bug-tracker] [bug #32901] "diag" returns empty matrix where matlab's diag returns [0]
Date: Sat, 26 Mar 2011 03:55:21 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110303 Ubuntu/10.04 (lucid) Firefox/3.6.15

Update of bug #32901 (project octave):

                Priority:              5 - Normal => 2                      
              Item Group:        Incorrect Result => Other                  
                  Status:                    None => Need Info              


Follow-up Comment #1:

It doesn't seem to be a regression.  Octave versions 3.4, 3.2.4, and 3.0.5 all
return [] in this case.  Perhaps the 2.9.X series returned 0, but those are
very old.

Are there any good reasons to adopt Matlab's behavior?  It seems slightly
bizarre that asking for the elements on the diagonal of an empty matrix should
return anything other than the empty set.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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