Skip to content

Commit

Permalink
Don't dump equations into Cpp FMU sources (#7643)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke committed Jul 4, 2021
1 parent d210b0e commit 63df406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OMCompiler/Compiler/Template/CodegenCpp.tpl
Expand Up @@ -9718,7 +9718,7 @@ template equation_function_create_single_func(SimEqSystem eq, Context context, S
<<
<%additionalFuncs%>
/*
<%dumpEqs(fill(eq,1))%>
<%match simCode case SIMCODE(fmuTargetName="") then dumpEqs(fill(eq,1))%>
*/
void <%lastIdentOfPathFromSimCode(simCode , &extraFuncs , &extraFuncsDecl, extraFuncsNamespace)%><%classnameext%>::<%method%>_<%ix_str%>()
{
Expand Down
2 changes: 1 addition & 1 deletion OMCompiler/Compiler/Template/CodegenCppOld.tpl
Expand Up @@ -9909,7 +9909,7 @@ template equation_function_create_single_func(SimEqSystem eq, Context context, S
<<
<%additionalFuncs%>
/*
<%dumpEqs(fill(eq,1))%>
<%match simCode case SIMCODE(fmuTargetName="") then dumpEqs(fill(eq,1))%>
*/
void <%lastIdentOfPathFromSimCode(simCode , &extraFuncs , &extraFuncsDecl, extraFuncsNamespace)%><%classnameext%>::<%method%>_<%ix_str%>()
{
Expand Down

0 comments on commit 63df406

Please sign in to comment.