mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 09:20:22 +00:00
assert
This commit is contained in:
parent
c87aa8bcf8
commit
25d1bca583
1 changed files with 1 additions and 0 deletions
|
@ -549,6 +549,7 @@ namespace polysat {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool slicing::is_value(enode* n) const {
|
bool slicing::is_value(enode* n) const {
|
||||||
|
SASSERT(n);
|
||||||
SASSERT(is_app(n->get_expr())); // we only create app nodes at the moment; if this fails just return false here.
|
SASSERT(is_app(n->get_expr())); // we only create app nodes at the moment; if this fails just return false here.
|
||||||
app* a = n->get_app();
|
app* a = n->get_app();
|
||||||
return a->get_num_args() == 1 && m_bv->is_numeral(a->get_arg(0));
|
return a->get_num_args() == 1 && m_bv->is_numeral(a->get_arg(0));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue