Skip to content

Commit

Permalink
#11042 octave: Remove deprecated error_state object
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Jan 12, 2024
1 parent f907c6b commit d065c8e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
8 changes: 0 additions & 8 deletions OctavePlugin/riSetActiveCellProperty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 0 additions & 8 deletions OctavePlugin/riSetGridProperty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
8 changes: 0 additions & 8 deletions OctavePlugin/riSetNNCProperty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d065c8e

Please sign in to comment.