mirror of
https://github.com/Z3Prover/z3
synced 2025-11-25 23:19:32 +00:00
test that pivoting is correct in dioph_eq.cpp
This commit is contained in:
parent
0db0efce9f
commit
36293ac773
10 changed files with 399 additions and 223 deletions
|
|
@ -46,6 +46,7 @@ typedef vector<column_cell> column_strip;
|
|||
template <typename T>
|
||||
using row_strip = vector<row_cell<T>>;
|
||||
template <typename K> mpq get_denominators_lcm(const K & row) {
|
||||
SASSERT(row.size() > 0);
|
||||
mpq r = mpq(1);
|
||||
for (const auto & c : row)
|
||||
r = lcm(r, denominator(c.coeff()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue