mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
#11042 octave: Remove deprecated error_state object
This commit is contained in:
parent
f907c6bdff
commit
d065c8e1e0
@ -135,14 +135,6 @@ DEFUN_DLD (riSetActiveCellProperty, args, nargout,
|
||||
|
||||
Matrix propertyFrames = args(0).matrix_value();
|
||||
|
||||
if (error_state)
|
||||
{
|
||||
error("riSetActiveCellProperty: The supplied first argument is not a valid Matrix");
|
||||
print_usage();
|
||||
|
||||
return octave_value_list ();
|
||||
}
|
||||
|
||||
|
||||
dim_vector mxDims = propertyFrames.dims();
|
||||
if (mxDims.length() != 2)
|
||||
|
@ -155,14 +155,6 @@ DEFUN_DLD (riSetGridProperty, args, nargout,
|
||||
|
||||
NDArray propertyFrames = args(0).array_value();
|
||||
|
||||
if (error_state)
|
||||
{
|
||||
error("riSetGridProperty: The supplied first argument is not a valid Matrix");
|
||||
print_usage();
|
||||
|
||||
return octave_value_list ();
|
||||
}
|
||||
|
||||
|
||||
dim_vector mxDims = propertyFrames.dims();
|
||||
if (!(mxDims.length() == 3 || mxDims.length() == 4))
|
||||
|
@ -135,14 +135,6 @@ DEFUN_DLD (riSetNNCProperty, args, nargout,
|
||||
|
||||
Matrix propertyFrames = args(0).matrix_value();
|
||||
|
||||
if (error_state)
|
||||
{
|
||||
error("riSetNNCProperty: The supplied first argument is not a valid Matrix");
|
||||
print_usage();
|
||||
|
||||
return octave_value_list ();
|
||||
}
|
||||
|
||||
|
||||
dim_vector mxDims = propertyFrames.dims();
|
||||
if (mxDims.length() != 2)
|
||||
|
Loading…
Reference in New Issue
Block a user