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

Commit f6ac4dd

Browse files
Willi BraunOpenModelica-Hudson
authored andcommitted
[NF] set index of relations to -1 otherwise it's a zc
Belonging to [master]: - #2213
1 parent 7b8186a commit f6ac4dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/NFFrontEnd/NFExpression.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ public
874874
then DAE.LUNARY(Operator.toDAE(exp.operator), toDAE(exp.exp));
875875

876876
case RELATION()
877-
then DAE.RELATION(toDAE(exp.exp1), Operator.toDAE(exp.operator), toDAE(exp.exp2), 0, NONE());
877+
then DAE.RELATION(toDAE(exp.exp1), Operator.toDAE(exp.operator), toDAE(exp.exp2), -1, NONE());
878878

879879
case IF()
880880
then DAE.IFEXP(toDAE(exp.condition), toDAE(exp.trueBranch), toDAE(exp.falseBranch));

0 commit comments

Comments
 (0)