Skip to content

Commit

Permalink
Fix ccadical_failed usage in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Lipen committed Mar 25, 2024
1 parent 6868696 commit 7402c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ccadical-static.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ fn main() -> color_eyre::Result<()> {
println!("failed({}) = {}", i, ccadical_failed(ptr, i));
println!("failed(-{}) = {}", i, ccadical_failed(ptr, -i));
}
assert_eq!(1, ccadical_failed(ptr, 1));
assert_eq!(1, ccadical_failed(ptr, 2));
assert_eq!(true, ccadical_failed(ptr, 1));
assert_eq!(true, ccadical_failed(ptr, 2));

// `solve` automatically resets given assumptions: another call should be SAT
let result = ccadical_solve(ptr);
Expand Down

0 comments on commit 7402c5f

Please sign in to comment.