mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	add e_internalized() check in theory_str::get_arith_value()
This commit is contained in:
		
							parent
							
								
									69f0ed9b1f
								
							
						
					
					
						commit
						7ddb940f77
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -4656,6 +4656,11 @@ namespace smt {
 | 
			
		|||
        context& ctx = get_context();
 | 
			
		||||
        ast_manager & m = get_manager();
 | 
			
		||||
 | 
			
		||||
	// safety
 | 
			
		||||
	if (!ctx.e_internalized(e)) {
 | 
			
		||||
	  return false;
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
        // if an integer constant exists in the eqc, it should be the root
 | 
			
		||||
        enode * en_e = ctx.get_enode(e);
 | 
			
		||||
        enode * root_e = en_e->get_root();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue