Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Fix variable names in debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel authored and OpenModelica-Hudson committed Apr 6, 2017
1 parent 9b4cb3b commit d2f4ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenC.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4482,7 +4482,7 @@ template functionCheckForDiscreteChanges(list<ComponentRef> discreteModelVars, S
<<
if(<%cref(var)%> != <%crefPre(var)%>)
{
infoStreamPrint(LOG_EVENTS_V, 0, "discrete var changed: <%crefStr(var)%> from <%crefToPrintfArg(var)%> to <%crefToPrintfArg(var)%>", <%crefPre(var)%>, <%cref(var)%>);
infoStreamPrint(LOG_EVENTS_V, 0, "discrete var changed: %s from <%crefToPrintfArg(var)%> to <%crefToPrintfArg(var)%>", <%crefVarInfo(var)%>.name, <%crefPre(var)%>, <%cref(var)%>);
needToIterate = 1;
}
>>
Expand Down

0 comments on commit d2f4ddb

Please sign in to comment.