Skip to content

Commit

Permalink
fix: parsing of ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Apr 25, 2024
1 parent 53c124b commit 4c202de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion certora/specs/LibSummary.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ rule checkSummaryId(MorphoHarness.MarketParams marketParams) {
}

rule checkSummaryMin(uint256 x, uint256 y) {
assert libMin(x, y) == x < y ? x : y;
uint256 summaryMin = x < y ? x : y;
assert libMin(x, y) == summaryMin;
}

0 comments on commit 4c202de

Please sign in to comment.