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

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

[Octave-bug-tracker] [bug #60482] hist() misses error for non-numeric in


From: Rik
Subject: [Octave-bug-tracker] [bug #60482] hist() misses error for non-numeric input
Date: Mon, 3 May 2021 12:28:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36

Update of bug #60482 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #9:

First question, should Octave emit an error for "char" data?  Or should it
just convert the data to numeric and continue?  Octave already behaves that
way for logical data where it converts true/false to 1/0 automatically.

For reference, Matlab converts logical but gives an error for "char" data.  We
could choose to be Matlab-compatible here, but I don't think we have to be. 
Octave is a superset of Matlab and if it does more than Matlab that is okay.

Could ask this question over on maintainer's section of Octave Discourse if we
want more confirmation.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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