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:
@@ -167,7 +167,7 @@ DEFUN_DLD (riGetWellCells, args, nargout,
|
||||
return octave_value();
|
||||
}
|
||||
|
||||
if (!args(argIndices[2]).is_numeric_type()) // Check if the TimeStep argument is actually a number
|
||||
if (!riOctavePlugin::isOctaveValueNumeric(args(argIndices[2]))) // Check if the TimeStep argument is actually a number
|
||||
{
|
||||
error("riGetWellCells: The last argument must be a timestep index.\n");
|
||||
print_usage();
|
||||
|
||||
Reference in New Issue
Block a user