mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	delay detach
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									891ab8bac5
								
							
						
					
					
						commit
						cafe3acff1
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -578,11 +578,10 @@ namespace q {
 | 
			
		|||
        TRACE("q", tout << "add " << mk_pp(_q, m) << "\n");
 | 
			
		||||
        scoped_ptr<clause> c = clausify(_q);
 | 
			
		||||
        quantifier* q = c->q();
 | 
			
		||||
        if (m_q2clauses.contains(q)) {
 | 
			
		||||
        if (m_q2clauses.contains(q)) 
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        ensure_ground_enodes(*c);
 | 
			
		||||
        m_clauses.push_back(c.detach());
 | 
			
		||||
        m_clauses.push_back(c.get());
 | 
			
		||||
        m_q2clauses.insert(q, c->index());
 | 
			
		||||
        ctx.push(pop_clause(*this));
 | 
			
		||||
        init_watch(*c);
 | 
			
		||||
| 
						 | 
				
			
			@ -613,6 +612,7 @@ namespace q {
 | 
			
		|||
            if (!unary)
 | 
			
		||||
                j++;
 | 
			
		||||
        }
 | 
			
		||||
        c.detach();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue