#6576 Fix deprecation message in Octave plugin

This commit is contained in:
Gaute Lindkvist 2020-09-24 18:51:43 +02:00
parent 79e3cfac7a
commit 1bde6f8aeb

View File

@ -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();