# HG changeset patch # User Michael Goffioul # Date 1203973788 18000 # Node ID 7e1b042c5418240ec84cc3bf46e1f9d91d060105 # Parent 26d8a92644de6c84f6052e4766bf662cf553c97b octave_scalar::round: use xround instead of ::round (MSVC does not have ::round). diff -r 26d8a92644de -r 7e1b042c5418 src/ChangeLog --- a/src/ChangeLog Mon Feb 25 15:57:49 2008 -0500 +++ b/src/ChangeLog Mon Feb 25 16:09:48 2008 -0500 @@ -1,3 +1,8 @@ +2008-02-25 Michael Goffioul + + * ov-scalar.cc (octave_scalar::round): Use xround instead of ::round + in mapper implementation. + 2008-02-25 John W. Eaton * ov-base.cc (UNDEFINED_MAPPER, STRING_MAPPER): New macros. Use diff -r 26d8a92644de -r 7e1b042c5418 src/ov-scalar.cc --- a/src/ov-scalar.cc Mon Feb 25 15:57:49 2008 -0500 +++ b/src/ov-scalar.cc Mon Feb 25 16:09:48 2008 -0500 @@ -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)