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:
parent
2eadcd586a
commit
549b984c88
7 changed files with 87 additions and 46 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue