mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	replace __debug__ by Z3_DEBUG #2225
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									6af6617e36
								
							
						
					
					
						commit
						944ce1135b
					
				
					 4 changed files with 162 additions and 146 deletions
				
			
		| 
						 | 
				
			
			@ -1347,6 +1347,7 @@ namespace nlsat {
 | 
			
		|||
                restore_order();
 | 
			
		||||
            CTRACE("nlsat_model", r == l_true, tout << "model\n"; display_assignment(tout););
 | 
			
		||||
            CTRACE("nlsat", r == l_false, display(tout););
 | 
			
		||||
            VERIFY(r != l_true || check_satisfied(m_clauses));
 | 
			
		||||
            return r;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1867,11 +1868,17 @@ namespace nlsat {
 | 
			
		|||
            if (m_bk != null_bool_var)
 | 
			
		||||
                num = m_bk;
 | 
			
		||||
            for (bool_var b = 0; b < num; b++) {
 | 
			
		||||
                SASSERT(check_satisfied(m_bwatches[b]));
 | 
			
		||||
                if (!check_satisfied(m_bwatches[b])) {
 | 
			
		||||
                    UNREACHABLE();
 | 
			
		||||
                    return false;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            if (m_xk != null_var) {
 | 
			
		||||
                for (var x = 0; x < m_xk; x++) {
 | 
			
		||||
                    SASSERT(check_satisfied(m_watches[x]));
 | 
			
		||||
                    if (!check_satisfied(m_watches[x])) {
 | 
			
		||||
                        UNREACHABLE();
 | 
			
		||||
                        return false;
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            return true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue