mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
add_value
This commit is contained in:
parent
0d80e47350
commit
5e5164ed2c
1 changed files with 5 additions and 3 deletions
|
@ -707,9 +707,11 @@ namespace polysat {
|
|||
}
|
||||
}
|
||||
|
||||
void slicing::add_value(pvar v, rational const& value) {
|
||||
// go through all existing nodes, and evaluate v?
|
||||
// can do that externally
|
||||
void slicing::add_value(pvar v, rational const& val) {
|
||||
enode* const sv = var2slice(v);
|
||||
enode* const sval = mk_value_slice(val, width(sv));
|
||||
(void)merge(sv, sval, v);
|
||||
// TODO: go through all existing nodes, and evaluate v? (no, better do that externally)
|
||||
}
|
||||
|
||||
std::ostream& slicing::display(std::ostream& out) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue