File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -234,7 +234,6 @@ void Solver::iunassume()
234234{
235235 assert (sp);
236236 assert (inf.maxVar );
237- assert (stats.clauses .original );
238237 LOGN2 (2 , " Resetting %d assumptions and solver state.." , assumptions.size ());
239238 if (assumptions.size ()) {
240239 forall_clause (assumptions, k) {
Original file line number Diff line number Diff line change @@ -69,11 +69,6 @@ void Solver::isolve(Lits_t& assumptions)
6969{
7070 FAULT_DETECTOR ;
7171 LOGHEADER (1 , 5 , " Search" );
72- if (!stats.clauses .original ) {
73- assert (orgs.empty ());
74- LOGWARNING (" Formula is already SATISFIABLE by elimination" );
75- return ;
76- }
7772 timer.start ();
7873 iallocspace ();
7974 iunassume ();
@@ -82,6 +77,11 @@ void Solver::isolve(Lits_t& assumptions)
8277 LOG2 (2 , " Incremental formula has a contradiction on top level" );
8378 learnEmpty ();
8479 }
80+ else if (!stats.clauses .original ) {
81+ assert (orgs.empty ());
82+ LOG2 (2 , " Formula is already SATISFIABLE by elimination" );
83+ cnfstate = SAT ;
84+ }
8585 else {
8686 initLimits ();
8787 iassume (assumptions);
You can’t perform that action at this time.
0 commit comments