mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#6576 Fix deprecation message in Octave plugin
This commit is contained in:
@@ -69,7 +69,7 @@ namespace riOctavePlugin
|
|||||||
|
|
||||||
bool isOctaveValueNumeric(const octave_value& value)
|
bool isOctaveValueNumeric(const octave_value& value)
|
||||||
{
|
{
|
||||||
#if (OCTAVE_MAJOR_VERSION >= 4 && OCTAVE_MINOR_VERSION >= 4)
|
#if (OCTAVE_MAJOR_VERSION > 4 || (OCTAVE_MAJOR_VERSION == 4 && OCTAVE_MINOR_VERSION >= 4))
|
||||||
return value.isnumeric();
|
return value.isnumeric();
|
||||||
#else
|
#else
|
||||||
return value.is_numeric_type();
|
return value.is_numeric_type();
|
||||||
|
|||||||
Reference in New Issue
Block a user