mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
							parent
							
								
									2b3ee995ff
								
							
						
					
					
						commit
						36e5d4dec9
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1572,6 +1572,8 @@ bool seq_rewriter::reduce_eq(expr_ref_vector& ls, expr_ref_vector& rs, expr_ref_
 | 
			
		|||
    bool lchange = false;
 | 
			
		||||
    SASSERT(lhs.empty());
 | 
			
		||||
    TRACE("seq", tout << ls << "\n"; tout << rs << "\n";);
 | 
			
		||||
	//std::cout << ls << "\n";
 | 
			
		||||
	//std::cout << rs << "\n";
 | 
			
		||||
    // solve from back
 | 
			
		||||
    while (true) {
 | 
			
		||||
        while (!rs.empty() && m_util.str.is_empty(rs.back())) {
 | 
			
		||||
| 
						 | 
				
			
			@ -1645,6 +1647,7 @@ bool seq_rewriter::reduce_eq(expr_ref_vector& ls, expr_ref_vector& rs, expr_ref_
 | 
			
		|||
        if (m_util.str.is_unit(r) && m_util.str.is_string(l)) {
 | 
			
		||||
            std::swap(l, r);
 | 
			
		||||
            ls.swap(rs);
 | 
			
		||||
            std::swap(head1, head2);
 | 
			
		||||
        }
 | 
			
		||||
        if (l == r) {
 | 
			
		||||
            ++head1;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue