mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
parent
666e835e08
commit
84475ff142
2 changed files with 14 additions and 14 deletions
|
@ -2864,7 +2864,10 @@ namespace z3 {
|
|||
assert(e.is_bool());
|
||||
Z3_optimize_assert_and_track(ctx(), m_opt, e, t);
|
||||
}
|
||||
|
||||
void add(expr const& e, char const* p) {
|
||||
assert(e.is_bool());
|
||||
add(e, ctx().bool_const(p));
|
||||
}
|
||||
handle add_soft(expr const& e, unsigned weight) {
|
||||
assert(e.is_bool());
|
||||
auto str = std::to_string(weight);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue