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

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

[Octave-bug-tracker] [bug #65527] sort should produce an error for nonsc


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65527] sort should produce an error for nonscalar dim
Date: Thu, 28 Mar 2024 17:03:11 -0400 (EDT)

Update of bug #65527 (group octave):

                Category:                    None => Octave Function        
              Item Group:                    None => Missed Error or Warning
                  Status:                    None => Confirmed              
        Operating System:       Microsoft Windows => Any                    
                 Summary: Missing documentation for sort => sort should
produce an error for nonscalar dim

    _______________________________________________________

Follow-up Comment #1:

i don't think it is expected for sort to take a vector input for dim. while
there are some functions that do this, i'm not even sure how you'd interpret
such an ordering instruction.  From a compatibility perspective, matlab docs
specify it is a scalar and inputting a vector produces an error. 

I think this is just a case of an uncaught erroneous input.  the function is
just performing a sort using dim(1).  

this isn't a case of documentation, but the function should be producing an
error. Changing category to "Missed Error or Warning" and updating title.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65527>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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