mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-30 19:22:28 +00:00 
			
		
		
		
	ensure ast_manager::are_equal returns true if expr ptrs are equal
found by Nikolaj
This commit is contained in:
		
							parent
							
								
									809fc86ac7
								
							
						
					
					
						commit
						d0de8fff62
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -1560,6 +1560,9 @@ bool ast_manager::is_unique_value(expr* e) const { | |||
| } | ||||
| 
 | ||||
| bool ast_manager::are_equal(expr * a, expr * b) const { | ||||
|     if (a == b) { | ||||
|         return true; | ||||
|     } | ||||
|     if (is_app(a) && is_app(b)) { | ||||
|         app* ap = to_app(a), *bp = to_app(b); | ||||
|         decl_plugin const * p = get_plugin(ap->get_family_id()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue