mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	This commit is contained in:
		
							parent
							
								
									d016cb1da5
								
							
						
					
					
						commit
						2174bccdba
					
				
					 1 changed files with 4 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -661,12 +661,10 @@ namespace bv {
 | 
			
		|||
        if (lit0 == sat::null_literal) {
 | 
			
		||||
            m_bits[v_arg][idx] = lit;
 | 
			
		||||
            TRACE("bv", tout << "add-bit: " << lit << " " << literal2expr(lit) << "\n";);
 | 
			
		||||
            if (arg_sz > 1) {
 | 
			
		||||
                atom* a = new (get_region()) atom(lit.var());
 | 
			
		||||
                a->m_occs = new (get_region()) var_pos_occ(v_arg, idx);
 | 
			
		||||
                insert_bv2a(lit.var(), a);
 | 
			
		||||
                ctx.push(mk_atom_trail(lit.var(), *this));
 | 
			
		||||
            }
 | 
			
		||||
            atom* a = new (get_region()) atom(lit.var());
 | 
			
		||||
            a->m_occs = new (get_region()) var_pos_occ(v_arg, idx);
 | 
			
		||||
            insert_bv2a(lit.var(), a);
 | 
			
		||||
            ctx.push(mk_atom_trail(lit.var(), *this));
 | 
			
		||||
        }
 | 
			
		||||
        else if (lit != lit0) {
 | 
			
		||||
            add_clause(lit0, ~lit);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue