# HG changeset patch # User John W. Eaton # Date 1597959647 14400 # Node ID ef0775fdab2cbf73feaa79ec70dd11bfaabc5911 # Parent a2cb3dec4bc56b5bd0a7c101c710241c0c9c87a4 provide template for isinf (const octave_int&) * lo-mappers.h (isinf (const octave_int&)): New template. diff -r a2cb3dec4bc5 -r ef0775fdab2c liboctave/numeric/lo-mappers.h --- a/liboctave/numeric/lo-mappers.h Wed Aug 19 23:52:02 2020 -0400 +++ b/liboctave/numeric/lo-mappers.h Thu Aug 20 17:40:47 2020 -0400 @@ -203,6 +203,13 @@ inline bool isinf (double x) { return std::isinf (x); } inline bool isinf (float x) { return std::isinf (x); } + template + bool + isinf (const octave_int&) + { + return false; + } + // FIXME: Do we need isinf overload for complex? template bool