From dafe68b1f05c3d1d288e7435b3f146326ea4eebc Mon Sep 17 00:00:00 2001 From: jofret Date: Wed, 23 Jun 2010 19:44:55 +0000 Subject: Remove SCI2Cerror wrapping call --- macros/GeneralFunctions/SCI2CNInArgCheck.sci | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'macros/GeneralFunctions/SCI2CNInArgCheck.sci') diff --git a/macros/GeneralFunctions/SCI2CNInArgCheck.sci b/macros/GeneralFunctions/SCI2CNInArgCheck.sci index 23886fed..71b93328 100644 --- a/macros/GeneralFunctions/SCI2CNInArgCheck.sci +++ b/macros/GeneralFunctions/SCI2CNInArgCheck.sci @@ -21,8 +21,6 @@ function SCI2CNInArgCheck(NInArgs,MinNArgs,MaxNArgs) // ----------------------------------------------------------------- if ((NInArgs < MinNArgs) | (NInArgs > MaxNArgs)) - SCI2Cerror('Incorrect number of input arguments.'); + error(9999, 'Incorrect number of input arguments.'); end - - endfunction -- cgit