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

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

[Octave-bug-tracker] [bug #63538] nchoosek random errors for some inputs


From: anonymous
Subject: [Octave-bug-tracker] [bug #63538] nchoosek random errors for some inputs
Date: Fri, 16 Dec 2022 16:40:36 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63538>

                 Summary: nchoosek random errors for some inputs
                 Project: GNU Octave
               Submitter: None
               Submitted: Fri 16 Dec 2022 09:40:34 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 7.3.0
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 16 Dec 2022 09:40:34 PM UTC By: Anonymous
OK:

nchoosek((1:3),1)
nchoosek((1:3),2)
nchoosek((1:3),3)


First and third OK, second error:

nchoosek((1:3)',1)
nchoosek((1:3)',2)
nchoosek((1:3)',3)

error: horizontal dimensions mismatch


But error only for second case, not all cases.

nchoosek should take column vector input or give better error message.








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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