mirror of
https://github.com/OPM/ResInsight.git
synced 2026-07-31 08:48:17 -05:00
#3962 Octave : Replace deprecated function is_numeric_type
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user