mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	fix #5252
This commit is contained in:
		
							parent
							
								
									55f8ad068f
								
							
						
					
					
						commit
						4f9ad28a05
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -18,6 +18,7 @@ Revision History:
 | 
			
		|||
--*/
 | 
			
		||||
#include "ast/ast_pp.h"
 | 
			
		||||
#include "ast/ast_util.h"
 | 
			
		||||
#include "ast/recfun_decl_plugin.h"
 | 
			
		||||
#include "ast/rewriter/rewriter_types.h"
 | 
			
		||||
#include "ast/rewriter/bool_rewriter.h"
 | 
			
		||||
#include "ast/rewriter/arith_rewriter.h"
 | 
			
		||||
| 
						 | 
				
			
			@ -374,6 +375,8 @@ struct evaluator_cfg : public default_rewriter_cfg {
 | 
			
		|||
 | 
			
		||||
            var_subst vs(m, false);
 | 
			
		||||
            result = vs(fi->get_interp(), num, args);
 | 
			
		||||
            if (!is_ground(result.get()) && recfun::util(m).is_defined(f))
 | 
			
		||||
                return BR_DONE;
 | 
			
		||||
            return BR_REWRITE_FULL;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue