Skip to content

Commit

Permalink
Updates to Adevs template
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9674 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
smiz committed Aug 23, 2011
1 parent 96df523 commit 0b473d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/susan_codegen/SimCode/SimCodeAdevs.tpl
Expand Up @@ -2075,8 +2075,8 @@ case SES_LINEAR(__) then
SIM_PROF_TICK_EQ(SIM_PROF_EQ_<%index%>);<%\n%>
#endif<%\n%>
>> %>
static declare_matrix(<%aname%>, <%size%>, <%size%>);
static declare_vector(<%bname%>, <%size%>);
double <%aname%>[<%size%>*<%size%>];
double <%bname%> [<%size%>];
<%simJac |> (row, col, eq as SES_RESIDUAL(__)) =>
let &preExp = buffer "" /*BUFD*/
let expPart = daeExp(eq.exp, context, &preExp /*BUFC*/, &varDecls /*BUFD*/)
Expand Down

0 comments on commit 0b473d4

Please sign in to comment.