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:
@@ -159,7 +159,7 @@ DEFUN_DLD (riSetNNCProperty, args, nargout,
|
||||
argIndices.push_back(3);
|
||||
|
||||
// Check if we have a CaseId:
|
||||
if (!args(argIndices[1]).is_numeric_type())
|
||||
if (!riOctavePlugin::isOctaveValueNumeric(args(argIndices[1])))
|
||||
{
|
||||
argIndices[1] = -1;
|
||||
for (size_t aIdx = 2; aIdx < argIndices.size(); ++aIdx)
|
||||
|
||||
Reference in New Issue
Block a user