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

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

[Octave-bug-tracker] [bug #64021] incorrect conditional undefined error


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #64021] incorrect conditional undefined error
Date: Mon, 10 Apr 2023 14:02:10 -0400 (EDT)

Update of bug #64021 (project octave):

                  Status:               Need Info => None                   

    _______________________________________________________

Follow-up Comment #2:

This problem appears to be a duplicate of bug #63935.  The fix for it should
appear in the upcoming 8.2.0 release.

If you really intend to do an element-wise numerical & operation is intended,
then you can work around the Octave bug by using


tmp = size(Fibase) == [ntimesm 1+nvars] & simpleMap
if (tmp)
  ...


Otherwise, if simpleMap is a scalar logical value, I recommend using something
like


if  simpleMap && all (size(Fibase) == [ntimesm 1+nvars])


in both Octave and Matlab.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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