Mercurial > hg > octave-nkf
diff liboctave/lo-mappers.cc @ 3757:574711ce9070
[project @ 2000-12-15 18:19:15 by jwe]
author | jwe |
---|---|
date | Fri, 15 Dec 2000 18:19:16 +0000 |
parents | fdc7dd08cd85 |
children | 13905c3a24af |
line wrap: on
line diff
--- a/liboctave/lo-mappers.cc +++ b/liboctave/lo-mappers.cc @@ -315,13 +315,13 @@ Complex xmin (const Complex& x, const Complex& y) { - return abs (x) < abs (y) ? x : (xisnan (x) ? x : y); + return abs (x) <= abs (y) ? x : (xisnan (x) ? x : y); } Complex xmax (const Complex& x, const Complex& y) { - return abs (x) > abs (y) ? x : (xisnan (x) ? x : y); + return abs (x) >= abs (y) ? x : (xisnan (x) ? x : y); } /*