mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 09:48:05 +00:00
crash
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
a5dd59fdfb
commit
abf29b57aa
9 changed files with 999 additions and 903 deletions
|
@ -26,6 +26,13 @@ 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();
|
||||
template void static_matrix<mpq, mpq>::add_column_to_vector(mpq const&, unsigned int, mpq*) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue