mirror of
https://github.com/OPM/ResInsight.git
synced 2026-07-31 00:38:14 -05:00
#3962 Octave : Replace deprecated function is_numeric_type
This commit is contained in:
@@ -126,7 +126,7 @@ DEFUN_DLD (riGetTimeStepDates, args, nargout,
|
||||
qint64 caseId = -1;
|
||||
if (nargin > 0)
|
||||
{
|
||||
if (args(0).is_numeric_type())
|
||||
if (riOctavePlugin::isOctaveValueNumeric(args(0)))
|
||||
{
|
||||
unsigned int argCaseId = args(0).uint_value();
|
||||
caseId = argCaseId;
|
||||
|
||||
Reference in New Issue
Block a user