mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	fix #4225
This commit is contained in:
		
							parent
							
								
									bbaedbcccc
								
							
						
					
					
						commit
						93004a9d49
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -947,10 +947,13 @@ namespace nlsat {
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        void mk_clause(unsigned num_lits, literal const * lits, assumption a) {
 | 
			
		||||
            SASSERT(num_lits > 0);
 | 
			
		||||
            _assumption_set as = nullptr;
 | 
			
		||||
            if (a != nullptr)
 | 
			
		||||
                as = m_asm.mk_leaf(a);
 | 
			
		||||
            if (num_lits == 0) {
 | 
			
		||||
                num_lits = 1;
 | 
			
		||||
                lits = &false_literal;
 | 
			
		||||
            }
 | 
			
		||||
            mk_clause(num_lits, lits, false, as);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue