mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
fixes in new solver
fix logging and lemma signs in arith_solver, move logging of drat equalities to euf
This commit is contained in:
parent
26b4ab20db
commit
11477f1ed1
6 changed files with 58 additions and 34 deletions
|
@ -203,12 +203,12 @@ public:
|
|||
}
|
||||
if (name == "Real" && sz == 4) {
|
||||
arith_util au(m);
|
||||
rational num = sexpr->get_child(2)->get_numeral();
|
||||
rational den = sexpr->get_child(3)->get_numeral();
|
||||
result = au.mk_numeral(num/den, false);
|
||||
rational r = sexpr->get_child(2)->get_numeral();
|
||||
// rational den = sexpr->get_child(3)->get_numeral();
|
||||
result = au.mk_numeral(r, false);
|
||||
return;
|
||||
}
|
||||
if (name == "Int" && sz == 3) {
|
||||
if (name == "Int" && sz == 4) {
|
||||
arith_util au(m);
|
||||
rational num = sexpr->get_child(2)->get_numeral();
|
||||
result = au.mk_numeral(num, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue