Skip to content

Commit

Permalink
fix: preproc generic cause triviality check
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienChampion committed Jan 15, 2024
1 parent fb8d1b9 commit 5e25561
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/common/smt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,10 @@ impl<Parser: Copy> ClauseTrivialExt for Solver<Parser> {
if lhs.is_empty() {
Ok(Some(false))
} else {
conj.try_is_unsat(self)
match conj.try_is_unsat(self) {
Ok(Some(true)) => Ok(Some(true)),
_ => Ok(Some(false)),
}
}
}
};
Expand Down

0 comments on commit 5e25561

Please sign in to comment.