Skip to content

Commit

Permalink
First set timeout, then check prelude (#3962)
Browse files Browse the repository at this point in the history
  • Loading branch information
geo2a authored Jun 26, 2024
1 parent 59a999a commit 81762ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion booster/library/Booster/SMT/Interface.hs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ initSolver def smtOptions = Log.withContext Log.CtxSMT $ do
ctxt <- mkContext smtOptions prelude

evalSMT ctxt $ do
checkPrelude
-- set timeout value for the general queries
runCmd_ $ SetTimeout smtOptions.timeout
checkPrelude
Log.logMessage ("Successfully initialised SMT solver with " <> (Text.pack . show $ smtOptions))
pure ctxt

Expand Down

0 comments on commit 81762ef

Please sign in to comment.