mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	add missing dependencies in rup
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									305c1c1dc2
								
							
						
					
					
						commit
						75a9038aa2
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -278,10 +278,13 @@ namespace sat {
 | 
			
		|||
        auto& [clauses, id, in_core] = m_clauses.find(m_clause);
 | 
			
		||||
        in_core = true;
 | 
			
		||||
        m_result.back().second.push_back(id);
 | 
			
		||||
        if (l != null_literal && s.lvl(l) == 0) {
 | 
			
		||||
        if (l != null_literal && s.lvl(l) == 0 && m_clause.size() > 1) {
 | 
			
		||||
            m_clause.reset();
 | 
			
		||||
            m_clause.push_back(l);
 | 
			
		||||
            m_clauses.insert_if_not_there(m_clause, {{}, 0, true }).m_in_core = true;
 | 
			
		||||
            auto& [clauses, id, in_core] = m_clauses.insert_if_not_there(m_clause, {{}, 0, true });
 | 
			
		||||
            in_core = true;
 | 
			
		||||
            if (id != 0)
 | 
			
		||||
                m_result.back().second.push_back(id);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue