mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	integrating changes of Nikolaj with m_empty_clause etc.
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
		
							parent
							
								
									f939a26c86
								
							
						
					
					
						commit
						21d9875239
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -1346,13 +1346,15 @@ namespace smt { | |||
|         bool  lemma = is_lemma(k); | ||||
|         m_stats.m_num_mk_lits += num_lits; | ||||
|         switch (num_lits) { | ||||
|         case 0: | ||||
|         case 0: { | ||||
|             if (j && !j->in_region()) | ||||
|                 m_justifications.push_back(j); | ||||
|             TRACE("mk_clause", tout << "empty clause... setting conflict\n";); | ||||
|             set_conflict(j == nullptr ? b_justification::mk_axiom() : b_justification(j)); | ||||
|             m_empty_clause = true; | ||||
|             SASSERT(inconsistent()); | ||||
|             return nullptr; | ||||
|         } | ||||
|         case 1: | ||||
|             if (j && !j->in_region()) | ||||
|                 m_justifications.push_back(j); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue