mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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)
|
||||
{
|
||||
#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();
|
||||
#else
|
||||
return value.is_numeric_type();
|
||||
|
||||
Reference in New Issue
Block a user