Skip to content

Commit

Permalink
- fix format string
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16613 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Jul 17, 2013
1 parent f5d1f9f commit 70f7c06
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Compiler/Template/CodegenC.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1201,8 +1201,10 @@ template functionUpdateBoundStartValues(list<SimEqSystem> startValueEquations)
INFO(LOG_INIT, "updating start-values");
INDENT(LOG_INIT);
<%startValueEquations |> SES_SIMPLE_ASSIGN(__) =>
'INFO2(LOG_INIT, "%s(start=%g)", <%cref(cref)%>__varInfo.name, (<%crefType(cref)%>) <%cref(cref)%>);
$P$ATTRIBUTE<%cref(cref)%>.start = <%cref(cref)%>;'
<<
INFO2(LOG_INIT, "%s(start=<%crefToPrintfArg(cref)%>)", <%cref(cref)%>__varInfo.name, (<%crefType(cref)%>) <%cref(cref)%>);
$P$ATTRIBUTE<%cref(cref)%>.start = <%cref(cref)%>;
>>
;separator="\n"%>
RELEASE(LOG_INIT);
Expand Down

0 comments on commit 70f7c06

Please sign in to comment.