This commit is contained in:
Simon Cruanes 2022-08-14 14:15:45 -04:00
parent 517a5d2e5f
commit ba2e191882
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -177,7 +177,7 @@ let assert_term self t = assert_terms self [ t ]
let solve ?(on_exit = []) ?(check = true) ?(on_progress = fun _ -> ()) let solve ?(on_exit = []) ?(check = true) ?(on_progress = fun _ -> ())
?(should_stop = fun _ _ -> false) ~assumptions (self : t) : res = ?(should_stop = fun _ _ -> false) ~assumptions (self : t) : res =
Profile.with_ "smt-solver.solve" @@ fun () -> let@ () = Profile.with_ "smt-solver.solve" in
let do_on_exit () = List.iter (fun f -> f ()) on_exit in let do_on_exit () = List.iter (fun f -> f ()) on_exit in
let on_progress = let on_progress =