Skip to content

Commit d46f6e7

Browse files
committed
- Minor syntax change
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7017 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 395b6f2 commit d46f6e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Compiler/SimCode.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,11 +577,11 @@ algorithm
577577

578578
case (cref, _)
579579
equation
580-
badcref = ComponentReference.makeCrefIdent("ERROR_cref2simvar_failed", DAE.ET_REAL, {});
580+
badcref = ComponentReference.makeCrefIdent("ERROR_cref2simvar_failed", DAE.ET_REAL(), {});
581581
errstr = "Template did not find the simulation variable for "+& ComponentReference.printComponentRefStr(cref) +& ". ";
582582
Error.addMessage(Error.INTERNAL_ERROR, {errstr});
583583
then
584-
SIMVAR(badcref, BackendDAE.STATE(), "", "", "", -1, NONE(), false, DAE.ET_REAL, false,NONE());
584+
SIMVAR(badcref, BackendDAE.STATE(), "", "", "", -1, NONE(), false, DAE.ET_REAL(), false,NONE());
585585
end matchcontinue;
586586
end cref2simvar;
587587

0 commit comments

Comments
 (0)