mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 18:15:32 +00:00
parent
8dac9b7b94
commit
b66360d0b5
5 changed files with 84 additions and 107 deletions
|
@ -1088,6 +1088,7 @@ namespace opt {
|
|||
if (D.is_zero()) {
|
||||
throw default_exception("modulo 0 is not defined");
|
||||
}
|
||||
if (D.is_neg()) D = abs(D);
|
||||
TRACE("opt1", display(tout << "lcm: " << D << " x: v" << x << " tableau\n"););
|
||||
rational val_x = m_var2value[x];
|
||||
rational u = mod(val_x, D);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue