changeset 31226:44cf6bbeeca9

sparse-xpow.cc: Change return type from int to bool for internal function
author Arun Giridhar <arungiridhar@gmail.com>
date Mon, 12 Sep 2022 05:35:48 -0400
parents 3eab70385569
children 0dec459a4064
files libinterp/corefcn/sparse-xpow.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/sparse-xpow.cc	Sun Sep 11 13:53:38 2022 -0400
+++ b/libinterp/corefcn/sparse-xpow.cc	Mon Sep 12 05:35:48 2022 -0400
@@ -47,7 +47,7 @@
 
 OCTAVE_NAMESPACE_BEGIN
 
-static inline int
+static inline bool
 xisint (double x)
 {
   return (octave::math::x_nint (x) == x