Mercurial > octave-nkf
diff src/mappers.cc @ 3586:2a38a5ddf20d
[project @ 2000-02-08 04:45:33 by jwe]
author | jwe |
---|---|
date | Tue, 08 Feb 2000 04:45:34 +0000 |
parents | 403039c85792 |
children | c11d138d654a |
line wrap: on
line diff
--- a/src/mappers.cc Tue Feb 08 04:35:47 2000 +0000 +++ b/src/mappers.cc Tue Feb 08 04:45:34 2000 +0000 @@ -140,16 +140,16 @@ return x; } -static Complex +static double ximag (const Complex& x) { - return Complex (0.0, x.imag ()); + return x.imag (); } -static Complex +static double xreal (const Complex& x) { - return Complex (x.real (), 0.0); + return x.real (); } void