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

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

[Octave-bug-tracker] [bug #63515] logical should convert char and string


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #63515] logical should convert char and strings instead of throwing an error for Matlab compatibility
Date: Wed, 11 Jan 2023 14:23:24 -0500 (EST)

Follow-up Comment #6, bug #63515 (project octave):

I'm thinking that optional warning is some very old code that I wrote thinking
that it would be useful to warn for something like


logical ([1, 1, 2, 3])


but not


logical ([0, 1, 0, 1])


Now I'm wondering why that would ever be needed.  Is there any code in Octave
today that actually sets the WARN parameter to true for this function?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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