Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/constraint.ml
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,11 @@ let rec call_smt' l abstract extra constraints =
in
Sys.remove input_file;
try
let _problem, _ = List.find (fun (_, result) -> result = "unsat") smt_output in
let _problem, _ = List.find (fun (_, result) -> String.starts_with ~prefix:"unsat" result) smt_output in
known_problems := DigestMap.add digest Unsat !known_problems;
Unsat
with Not_found ->
let unsolved = List.filter (fun (_, result) -> result = "unknown") smt_output in
let unsolved = List.filter (fun (_, result) -> String.starts_with ~prefix:"unknown" result) smt_output in
if unsolved == [] then (
known_problems := DigestMap.add digest Sat !known_problems;
Sat
Expand Down
Loading