[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf |
Date: |
Tue, 15 Aug 2023 10:22:29 -0400 (EDT) |
Update of bug #64556 (project octave):
Status: None => Confirmed
Release: 8.2.0 => dev
Operating System: Microsoft Windows => Any
_______________________________________________________
Follow-up Comment #1:
Confirmed on latest default.
It seems there are quite a few places popping up with Inf/NaN handling
differences. wondering if this is new behavior or if we've just missed it for
some time. They did introduce a NANFLAG in many functions that allows
processing skipping over NaNs, wondering if trickle down from that is what's
popping up here.
it looks like in the presence of inf and nan, matlab performs the unwrap as if
they weren't present, leaving the inf and nan in place in the answer.
looking at how the function builds up the answer for vectors, this should be
fairly easy to notch out the non-numbers. but will need to double check with
2D and nD arrays and with specified dimensions as notching may create an
unequal number of elements in the operating dimension. may have to introduce
some masking instead.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64556>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf, Juan, 2023/08/15
- Message not available
- [Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf,
Nicholas Jankowski <=
- [Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf, Rik, 2023/08/15
- [Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf, Nicholas Jankowski, 2023/08/15
- [Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf, Nicholas Jankowski, 2023/08/15
- [Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf, Rik, 2023/08/15
- [Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf, Nicholas Jankowski, 2023/08/16
- [Octave-bug-tracker] [bug #64556] unwrap() does not handle NaN and Inf, Nicholas Jankowski, 2023/08/18