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_REAL.sci | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'macros/FunctionAnnotation/FA_REAL.sci') diff --git a/macros/FunctionAnnotation/FA_REAL.sci b/macros/FunctionAnnotation/FA_REAL.sci index 2b030f7e..e55583d7 100644 --- a/macros/FunctionAnnotation/FA_REAL.sci +++ b/macros/FunctionAnnotation/FA_REAL.sci @@ -40,7 +40,11 @@ if (SCI2Cisnum(in1)) else opout = string(outnum); end -else - opout = in2+"0real"+FA_TP_REAL(in2)+"0"+"("+in1+")"; +else + if (in1 == "%i") + opout = " 0 "; + else + opout = in2+"0real"+FA_TP_REAL(in2)+"0"+"("+in1+")"; + end end endfunction -- cgit