3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-24 03:57:51 +00:00

move to self-contained trail instructions

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-04-15 17:38:36 -07:00
parent 2eadcd586a
commit 549b984c88
7 changed files with 87 additions and 46 deletions

View file

@ -7,11 +7,10 @@ namespace polysat {
struct solver_scope {
reslimit lim;
trail_stack stack;
};
struct scoped_solver : public solver_scope, public solver {
scoped_solver(): solver(stack, lim) {}
scoped_solver(): solver(lim) {}
void check() {
std::cout << check_sat() << "\n";