From 839d659e6b1c25be20bd556aba6386eaceb1245f Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 17 Aug 2009 09:35:00 +0000 Subject: Updated FA_REAL to handle the case where there is a %i which has not been handled by other functions ( as in OpColon) added test for OpColon updated INIT_FillSCI2LibCDirs --- macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci') diff --git a/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci b/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci index 238bfc20..b1f8f982 100644 --- a/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci +++ b/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci @@ -1,5 +1,5 @@ -function opout = FA_SZ_FROM_VAL(in1) -// function opout = FA_SZ_FROM_VAL(in1) +function opout = FA_SZ_FROM_VAL(in1,in2) +// function opout = FA_SZ_FROM_VAL(in1,in2) // ----------------------------------------------------------------- // Return a size according to the floored value of the first argument // @@ -11,7 +11,7 @@ function opout = FA_SZ_FROM_VAL(in1) // // ----------------------------------------------------------------- -SCI2CNInArgCheck(argn(2),1,1); +SCI2CNInArgCheck(argn(2),2,2); if (SCI2Cisnum(in1)) @@ -33,5 +33,4 @@ else end - -endfunction +endfunction: -- cgit