Skip to content

Commit ca79544

Browse files
committed
Propagate Nothing in checkPredicates
1 parent d070611 commit ca79544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

booster/library/Booster/SMT/Interface.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ checkPredicates ctxt givenPs givenSubst psToCheck
356356
Just (Unsat, Sat) -> pure . Just $ False
357357
Just (Unknown, _) -> retry smtGiven sexprsToCheck transState
358358
Just (_, Unknown) -> retry smtGiven sexprsToCheck transState
359-
other -> throwSMT' $ "Unexpected result while checking a condition: " <> show other
360-
359+
Just other -> throwSMT' $ "Unexpected result while checking a condition: " <> show other
360+
Nothing -> pure Nothing
361361
retry :: [DeclareCommand] -> [SExpr] -> TranslationState -> SMT io (Maybe Bool)
362362
retry smtGiven sexprsToCheck transState = do
363363
opts <- SMT $ gets (.options)

0 commit comments

Comments
 (0)