mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	exclude built-in functions from model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									eea041383d
								
							
						
					
					
						commit
						ffc696e634
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1691,7 +1691,7 @@ void cmd_context::display_model(model_ref& mdl) { | |||
| void cmd_context::add_declared_functions(model& mdl) { | ||||
|     for (auto const& kv : m_func_decls) { | ||||
|         func_decl* f = kv.m_value.first(); | ||||
|         if (!mdl.has_interpretation(f)) { | ||||
|         if (f->get_family_id() == null_family_id && !mdl.has_interpretation(f)) { | ||||
|             expr* val = mdl.get_some_value(f->get_range()); | ||||
|             if (f->get_arity() == 0) { | ||||
|                 mdl.register_decl(f, val); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue