Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Feb 11, 2024
1 parent 81fe86c commit f037713
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Data/SBV/Control/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,8 @@ getValue s = do
outstandingAsserts <- do State{rOutstandingAsserts} <- queryState
liftIO $ readIORef rOutstandingAsserts

if outstandingAsserts
then queryDebug ["[NOTE] getValue: There are outstanding asserts. Ensuring we're still sat."]
else queryDebug ["[NOTE] getValue: There are no outstanding asserts. Continuing with getValue."]

when outstandingAsserts $ do
queryDebug ["[NOTE] getValue: There are outstanding asserts. Ensuring we're still sat."]
r <- checkSat
let bad = unexpected "checkSat" "check-sat" "one of sat/unsat/unknown" Nothing (show r) Nothing
case r of
Expand Down

0 comments on commit f037713

Please sign in to comment.