Skip to content

Commit

Permalink
Fix typo in expression sign check (#11040)
Browse files Browse the repository at this point in the history
  • Loading branch information
phannebohm committed Aug 11, 2023
1 parent c3c2d9e commit 9ca1bf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMCompiler/Compiler/NFFrontEnd/NFExpression.mo
Expand Up @@ -4375,8 +4375,8 @@ public
res := match exp
case INTEGER() then exp.value >= 0;
case REAL() then exp.value >= 0;
case CAST() then isNonPositive(exp.exp);
case UNARY() then isNonNegative(exp.exp);
case CAST() then isNonNegative(exp.exp);
case UNARY() then isNonPositive(exp.exp);
else false;
end match;
end isNonNegative;
Expand Down

0 comments on commit 9ca1bf6

Please sign in to comment.