3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

move the nex object creation from a row to nla_common

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-09-19 16:11:51 -07:00
parent a085edceff
commit a3d0372e3d
6 changed files with 50 additions and 51 deletions

View file

@ -26,6 +26,7 @@
#include "math/lp/factorization.h"
#include "util/dependency.h"
#include "util/region.h"
#include "math/lp/nex_creator.h"
namespace nla {
@ -114,6 +115,10 @@ struct common {
typedef dependency_manager<ci_dependency_config> ci_dependency_manager;
typedef ci_dependency_manager::dependency ci_dependency;
nex* nexvar(lpvar j, nex_creator& ) const;
nex* nexvar(const rational& coeff, lpvar j, nex_creator&) const;
template <typename T>
void create_sum_from_row(const T&, nex_creator&, nex_sum&);
};
}