mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3962 Octave : Replace deprecated function is_numeric_type
This commit is contained in:
@@ -99,7 +99,7 @@ DEFUN_DLD (riGetTimeStepDays, 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