# HG changeset patch # User Michael Goffioul # Date 1203883225 -3600 # Node ID b6418cd23a4b79b675bc0ad3097f557ce7de2bfe # Parent 71065c81b5a26a3e92396dbbfd61a021784ded02 octave_scalar::round: use xround instead of ::round (MSVC does not have ::round). diff -r 71065c81b5a2 -r b6418cd23a4b src/ChangeLog --- a/src/ChangeLog Sat Feb 23 21:12:37 2008 +0200 +++ b/src/ChangeLog Sun Feb 24 21:00:25 2008 +0100 @@ -1,3 +1,8 @@ +2008-02-23 Michael Goffioul + + * ov-scalar.cc (octave_scalar::round): Use xround instead of ::round + in mapper implementation. + 2008-02-23 Shai Ayal * graphics.cc (convert_position): Now not static diff -r 71065c81b5a2 -r b6418cd23a4b src/ov-scalar.cc --- a/src/ov-scalar.cc Sat Feb 23 21:12:37 2008 +0200 +++ b/src/ov-scalar.cc Sun Feb 24 21:00:25 2008 +0100 @@ -331,7 +331,7 @@ CD_SCALAR_MAPPER (log, ::log, std::log, 0.0, octave_Inf) CD_SCALAR_MAPPER (log10, ::log10, std::log10, 0.0, octave_Inf) SCALAR_MAPPER (real, ::real) -SCALAR_MAPPER (round, ::round) +SCALAR_MAPPER (round, xround) SCALAR_MAPPER (signum, ::signum) SCALAR_MAPPER (sin, ::sin) SCALAR_MAPPER (sinh, ::sinh)