Skip to content

Commit

Permalink
Fix swapped arguments to fold in symbolic evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
0xd34df00d committed Jul 14, 2023
1 parent 640e39d commit 3222af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tool/Pact/Analyze/Eval/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ evalCore (ListFold tya tyb (Open vid1 _ (Open vid2 _ f)) a bs)
S _ bs' <- eval bs
result <- bfoldrM listBound
(\sbvb sbva -> fmap _sSbv $
withVar vid1 (mkAVal' sbvb) $
withVar vid2 (mkAVal' sbva) $
withVar vid1 (mkAVal' sbva) $
withVar vid2 (mkAVal' sbvb) $
eval f)
a' bs'
pure $ sansProv result
Expand Down

0 comments on commit 3222af9

Please sign in to comment.