changeset 24527:abd196490ed3

Fix unused variable warning in xpow.cc. * xpow.cc (elem_xpow (const FloatComplexMatrix)): Use bint variable in call to std::pow.
author Rik <rik@octave.org>
date Fri, 05 Jan 2018 10:34:27 -0800
parents d68d1096d294
children e1295dd49c71
files libinterp/corefcn/xpow.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/xpow.cc	Thu Jan 04 21:30:21 2018 -0800
+++ b/libinterp/corefcn/xpow.cc	Fri Jan 05 10:34:27 2018 -0800
@@ -2298,7 +2298,7 @@
         for (octave_idx_type i = 0; i < nr; i++)
           {
             octave_quit ();
-            result(i, j) = std::pow (a(i, j), b);
+            result(i, j) = std::pow (a(i, j), bint);
           }
     }
   else