Mercurial > hg > octave-lojdl
changeset 12086:330cf1e13fb6 release-3-2-x
fix minor typo
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 07 Sep 2009 08:38:09 +0200 |
parents | c5ab026894ef |
children | 6ba99f799ec1 |
files | src/pr-output.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pr-output.cc +++ b/src/pr-output.cc @@ -852,7 +852,7 @@ double r_abs = rp < 0.0 ? -rp : rp; double i_abs = ip < 0.0 ? -ip : ip; - int r_x = (xisinf (rp) || xisnan (rp) || xr_abs == 0.0) + int r_x = (xisinf (rp) || xisnan (rp) || r_abs == 0.0) ? 0 : static_cast<int> (floor (log10 (r_abs) + 1.0)); int i_x = (xisinf (ip) || xisnan (ip) || i_abs == 0.0)