Skip to content

Commit

Permalink
fix unfolding one to many times
Browse files Browse the repository at this point in the history
  • Loading branch information
owestphal committed Jul 20, 2023
1 parent 957ff47 commit c821673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Test/IOTasks/Z3.hs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ satPathsQ nVar to t maxUnfolds maxSeqLength checkOverflows q = do
_ -> satPaths' nUnfolds (nInputs+1) to t (SomeConstraint c:s,d+1) q -- stores constraints in reversed order
satPaths' nUnfolds nInputs to (Assert c t) (s,d) q = satPaths' nUnfolds nInputs to t (SomeConstraint c:s,d+1) q -- stores constraints in reversed order
satPaths' nUnfolds nInputs to (Unfold t) (s,d) q
| nUnfolds <= maxUnfolds = satPaths' (nUnfolds+1) nInputs to t (s,d) q
| nUnfolds < maxUnfolds = satPaths' (nUnfolds+1) nInputs to t (s,d) q
| otherwise = pure ()

data ValueGenerator where
Expand Down

0 comments on commit c821673

Please sign in to comment.