mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 17:31:57 +00:00
init m_e_matrix on terms instead of the tableau
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
392c24a145
commit
5f5f1d4fd1
4 changed files with 36 additions and 25 deletions
|
@ -26,12 +26,6 @@ Revision History:
|
|||
#include "math/lp/lp_primal_core_solver.h"
|
||||
#include "math/lp/lar_solver.h"
|
||||
namespace lp {
|
||||
mpq get_denominators_lcm(const row_strip<mpq> & row) {
|
||||
mpq r(1);
|
||||
for (auto & c : row)
|
||||
r = lcm(r, denominator(c.coeff()));
|
||||
return r;
|
||||
}
|
||||
|
||||
template std::set<std::pair<unsigned, unsigned>> lp::static_matrix<lp::mpq, lp::mpq>::get_domain();
|
||||
template std::set<std::pair<unsigned, unsigned>> lp::static_matrix<lp::mpq, lp::numeric_pair<lp::mpq> >::get_domain();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue