#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
+1 -1
View File
@@ -136,7 +136,7 @@ DEFUN_DLD (riGetWellStatus, args, nargout,
// Check if we have a Requested TimeSteps
int lastArgumentIndex = argIndices[2] ;
if (!(nargin > argIndices[2] && (args(argIndices[2]).is_matrix_type() || args(argIndices[2]).is_numeric_type())))
if (!(nargin > argIndices[2] && (args(argIndices[2]).is_matrix_type() || riOctavePlugin::isOctaveValueNumeric(args(argIndices[2])))))
{
argIndices[2] = -1;
}