Skip to content

Commit aaaa4c1

Browse files
committed
Hard-reset solver when getting unknown in get-model
1 parent 1d5d78a commit aaaa4c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

booster/library/Booster/SMT/Interface.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ getModelFor ctxt ps subst
185185
case opts.retryLimit of
186186
Just x | x > 0 -> do
187187
let newOpts = opts{timeout = 2 * opts.timeout, retryLimit = Just $ x - 1}
188-
swapSmtOptions newOpts
188+
hardResetSolver newOpts
189189
solve smtAsserts transState
190190
_ -> getReasonUnknown
191191
r@ReasonUnknown{} ->

0 commit comments

Comments
 (0)