Skip to content

Commit

Permalink
Fix AbsynUtil.purityEqual (#11234)
Browse files Browse the repository at this point in the history
  • Loading branch information
perost committed Sep 21, 2023
1 parent aa84bb0 commit a714efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMCompiler/Compiler/FrontEnd/AbsynUtil.mo
Expand Up @@ -6357,8 +6357,8 @@ algorithm
end match;
else
isEqual := match (purity1, purity2)
case (Absyn.FunctionPurity.PURE(), Absyn.FunctionPurity.IMPURE()) then true;
case (Absyn.FunctionPurity.IMPURE(), Absyn.FunctionPurity.PURE()) then true;
case (Absyn.FunctionPurity.NO_PURITY(), Absyn.FunctionPurity.PURE()) then true;
case (Absyn.FunctionPurity.PURE(), Absyn.FunctionPurity.NO_PURITY()) then true;
else false;
end match;
end if;
Expand Down

0 comments on commit a714efa

Please sign in to comment.