Skip to content

Commit

Permalink
fix function signature for assert-soft
Browse files Browse the repository at this point in the history
  • Loading branch information
timbeurskens committed Dec 19, 2024
1 parent 4ae57d0 commit 7c842e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smtlib/src/solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ where
}

/// Adds soft-constraint `b` to the solver.
pub fn assert_soft<S>(&mut self, b: Bool) -> Result<(), Error> where S: Sorted {
pub fn assert_soft(&mut self, b: Bool) -> Result<(), Error> {
let term = b.into();

self.declare_all_consts(&term)?;
Expand Down

0 comments on commit 7c842e9

Please sign in to comment.