summaryrefslogtreecommitdiff
path: root/macros/ToolInitialization
diff options
context:
space:
mode:
authorsimon2009-08-06 14:00:00 +0000
committersimon2009-08-06 14:00:00 +0000
commitc76ca1b96e718c7ebfa986be8bf67663a2c468ae (patch)
tree7ffe277a1d9b856aeb127b486bdeb7c412968184 /macros/ToolInitialization
parent2cb32557766c38f6776c25f701c0935f76cf3c6d (diff)
downloadscilab2c-c76ca1b96e718c7ebfa986be8bf67663a2c468ae.tar.gz
scilab2c-c76ca1b96e718c7ebfa986be8bf67663a2c468ae.tar.bz2
scilab2c-c76ca1b96e718c7ebfa986be8bf67663a2c468ae.zip
added FA_SZ_FROM_VAL to handle functions who determine the size of the ouput with the input arguments
updated INIT_FillSCI2LibCDirs
Diffstat (limited to 'macros/ToolInitialization')
-rw-r--r--macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
index 2de3fadb..0aac9f18 100644
--- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
+++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
@@ -493,8 +493,8 @@ PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
//Was FA_TP_USER
//Cause some trouble if user specify some precision and if input(and also output) is complex.
PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
-PrintStringInfo('OUT(1).SZ(1)= IN(1).VAL',ClassFileName,'file','y');
-PrintStringInfo('OUT(1).SZ(2)= IN(2).VAL',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= FA_SZ_FROM_VAL(IN(1).VAL)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_SZ_FROM_VAL(IN(2).VAL)',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
@@ -2057,7 +2057,7 @@ PrintStringInfo('NIN= 3',ClassFileName,'file','y');
PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y');
PrintStringInfo('OUT(1).TP= FA_TP_USER',ClassFileName,'file','y');
PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y');
-PrintStringInfo('OUT(1).SZ(2)= FA_SZ_RTMAX(IN(1).VAL)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_SZ_RTMAX(FA_SZ_FROM_VAL(IN(1).VAL))',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);