Mercurial > octave
view .hgsubstate @ 21275:85d8280c64f4
Return NaN for norm (..., +/-Inf) if input contains NaN (bug #32855).
* oct-norm.cc (norm_accumulator_inf::accum, norm_accumulator_minf::accum):
Use xisnan to check for NaN value before continuing to accumulate.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 16 Feb 2016 16:01:56 -0800 |
parents | 407c01ee1d9a |
children | 98ecd9dba90f |