changeset 22107:35c0ad43c7a5

doc: Use correct function name in deprecation message. * liboctave/util/oct-inttypes.h: Message says to use isnan instead of round.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Thu, 14 Jul 2016 17:11:42 +0200
parents c8abb2ba4017
children 783d5fb46892
files liboctave/util/oct-inttypes.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/util/oct-inttypes.h	Thu Jul 14 14:30:59 2016 +0200
+++ b/liboctave/util/oct-inttypes.h	Thu Jul 14 17:11:42 2016 +0200
@@ -61,7 +61,7 @@
 
 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS)
 
-OCTAVE_DEPRECATED ("use 'octave::math::isnan' instead")
+OCTAVE_DEPRECATED ("use 'octave::math::round' instead")
 inline long double xround (long double x) { return octave::math::round (x); }
 
 OCTAVE_DEPRECATED ("use 'octave::math::isnan' instead")