summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ASTManagement
diff options
context:
space:
mode:
authorsiddhu89902017-02-02 16:02:41 +0530
committersiddhu89902017-02-02 16:02:41 +0530
commit1fef9b1edc2d4400e8ba6bb6fafb648963d6817d (patch)
treee1f37ced7b25b855d327895c3932e051232606a1 /2.3-1/macros/ASTManagement
parent28d16508c39756d1f143b44c33115530fd4a7653 (diff)
downloadScilab2C-1fef9b1edc2d4400e8ba6bb6fafb648963d6817d.tar.gz
Scilab2C-1fef9b1edc2d4400e8ba6bb6fafb648963d6817d.tar.bz2
Scilab2C-1fef9b1edc2d4400e8ba6bb6fafb648963d6817d.zip
Support for function 'schur' added
q
Diffstat (limited to '2.3-1/macros/ASTManagement')
-rw-r--r--2.3-1/macros/ASTManagement/AST_HandleEndGenFun.binbin96888 -> 97736 bytes
-rw-r--r--2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci12
2 files changed, 9 insertions, 3 deletions
diff --git a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin
index f16974e2..a9e28eff 100644
--- a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin
+++ b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin
Binary files differ
diff --git a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci
index 5086680b..fa7b33a2 100644
--- a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci
+++ b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci
@@ -199,9 +199,9 @@ NOutArg_mod = NOutArg
// is a name of a function
if NInArg == 4
ODEFunName = InArg(4).Name;
- InArg(4).Name = 'odefn'+ InArg(4).Name
//To differentiate functions containing differential equations,
//'odefn' is added at the beginning of the function name.
+ InArg(4).Name = 'odefn'+ InArg(4).Name
SharedInfo.Includelist($+1) = InArg(4).Name;
//Add ode function in list. this will be used to add corresponding
//header file in main function.
@@ -209,7 +209,13 @@ NOutArg_mod = NOutArg
ODEFunName = InArg(5).Name;
InArg(5).Name = 'odefn'+ InArg(5).Name
SharedInfo.Includelist($+1) = InArg(5).Name;
- end
+ elseif NInArg == 6
+ ODEFunName = InArg(6).Name;
+ InArg(6).Name = 'odefn'+ InArg(6).Name
+ SharedInfo.Includelist($+1) = InArg(6).Name;
+ end
+
+
elseif(ASTFunName == 'RPI_ThreadCreate')
PI_thread_FunName = InArg(1).Name;
InArg(1).Name = 'PI_thread_'+PI_thread_FunName;
@@ -390,7 +396,7 @@ NOutArg_mod = NOutArg
ST_InsOutArg(OutArg,NOutArg,FileInfo,SharedInfo,'all');
end
if ASTFunName == 'ode' then
- if NInArg == 4
+ if ((NInArg == 4) | (NInArg == 6))
ODE_InArg(1) = InArg(3)
ODE_InArg(2) = InArg(1)
ODE_OutArg(1) = OutArg(1)