[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62330] [octave forge] (mapping) degrees2dm fa
[Octave-bug-tracker] [bug #62330] [octave forge] (mapping) degrees2dm fails on NaN input
Fri, 15 Jul 2022 10:58:43 -0400 (EDT)
Update of bug #62330 (project octave):
Status: Patch Submitted => Fixed
Assigned to: None => philipnienhuis
Open/Closed: Open => Closed
Follow-up Comment #4:
After applying the patch, I get this error at L.90 (nn = ! isnan (dm(:,
## Pressing <F9> after selecting L.90:
debug> nn = ! isnan (dm(:, 1))
nn = 0
debug> ## Pressing 'Step' button
error: invalid conversion from NaN to logical
error: called from
degrees2dm at line 90 column 10
The code looks OK to me and executes correctly as seen above.
Hmmmm, removing the space between '!' and 'isnan' leads to correct execution
of the code.
And after restarting Octave the original patched code (w space between ! and
isnan) also executes fine.
I pushed the cset here:
and added a BIST for that case here:
Thanks for the patch and other actions.
Reply to this item at:
Message sent via Savannah
|[Prev in Thread]
||[Next in Thread]|
- [Octave-bug-tracker] [bug #62330] [octave forge] (mapping) degrees2dm fails on NaN input,
Philip Nienhuis <=