mirror of
https://github.com/Z3Prover/z3
synced 2025-11-13 09:31:14 +00:00
refactor get_sort
This commit is contained in:
parent
4455f6caf8
commit
3ae4c6e9de
129 changed files with 362 additions and 362 deletions
|
|
@ -273,13 +273,13 @@ namespace spacer_qe {
|
|||
if (a.is_le(lit, e1, e2) || a.is_ge(lit, e2, e1)) {
|
||||
if (!is_linear( mul, e1, c, ts) || !is_linear(-mul, e2, c, ts))
|
||||
return false;
|
||||
s = m.get_sort(e1);
|
||||
s = e1->get_sort();
|
||||
is_strict = is_not;
|
||||
}
|
||||
else if (a.is_lt(lit, e1, e2) || a.is_gt(lit, e2, e1)) {
|
||||
if (!is_linear( mul, e1, c, ts) || !is_linear(-mul, e2, c, ts))
|
||||
return false;
|
||||
s = m.get_sort(e1);
|
||||
s = e1->get_sort();
|
||||
is_strict = !is_not;
|
||||
}
|
||||
else if (m.is_eq(lit, e1, e2) && a.is_int_real (e1)) {
|
||||
|
|
@ -311,7 +311,7 @@ namespace spacer_qe {
|
|||
if (is_not) is_diseq = true;
|
||||
else is_eq = true;
|
||||
}
|
||||
s = m.get_sort(e1);
|
||||
s = e1->get_sort();
|
||||
}
|
||||
else {
|
||||
IF_VERBOSE(2, verbose_stream() << "can't project:" << mk_pp(lit, m) << "\n";);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue