mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
deal with build errors
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fd6e9a0118
commit
ab668cbe6c
3 changed files with 2 additions and 15 deletions
|
@ -22,6 +22,7 @@ Author:
|
|||
#include "sat/smt/pb_solver.h"
|
||||
#include "sat/smt/bv_solver.h"
|
||||
#include "sat/smt/intblast_solver.h"
|
||||
#include "sat/smt/polysat_solver.h"
|
||||
#include "sat/smt/euf_solver.h"
|
||||
#include "sat/smt/array_solver.h"
|
||||
#include "sat/smt/arith_solver.h"
|
||||
|
|
|
@ -12,6 +12,7 @@ Author:
|
|||
|
||||
--*/
|
||||
|
||||
#include <utility>
|
||||
#include "sat/smt/polysat/polysat_assignment.h"
|
||||
#include "sat/smt/polysat/polysat_core.h"
|
||||
|
||||
|
@ -43,18 +44,6 @@ namespace polysat {
|
|||
assignment::assignment(core& s)
|
||||
: m_core(s) { }
|
||||
|
||||
|
||||
assignment assignment::clone() const {
|
||||
assignment a(s());
|
||||
a.m_pairs = m_pairs;
|
||||
a.m_subst.reserve(m_subst.size());
|
||||
for (unsigned i = m_subst.size(); i-- > 0; )
|
||||
if (m_subst[i])
|
||||
a.m_subst.set(i, alloc(substitution, *m_subst[i]));
|
||||
a.m_subst_trail = m_subst_trail;
|
||||
return a;
|
||||
}
|
||||
|
||||
bool assignment::contains(pvar var) const {
|
||||
return subst(s().size(var)).contains(var);
|
||||
}
|
||||
|
|
|
@ -91,9 +91,6 @@ namespace polysat {
|
|||
// prevent implicit copy, use clone() if you do need a copy
|
||||
assignment(assignment const&) = delete;
|
||||
assignment& operator=(assignment const&) = delete;
|
||||
assignment(assignment&&) = default;
|
||||
assignment& operator=(assignment&&) = default;
|
||||
assignment clone() const;
|
||||
|
||||
void push(pvar var, rational const& value);
|
||||
void pop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue