#3962 Octave : Replace deprecated function is_numeric_type

This commit is contained in:
Magne Sjaastad
2019-01-15 07:28:50 +01:00
parent 791a896be4
commit fff68b3ea6
18 changed files with 32 additions and 22 deletions

View File

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