mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-30 19:22:28 +00:00 
			
		
		
		
	Fix order of arguments when normalizing a conjunction
This commit is contained in:
		
							parent
							
								
									a8c9e3a837
								
							
						
					
					
						commit
						a63e4b48ca
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -666,9 +666,6 @@ namespace { | |||
|             flatten_and(out, v); | ||||
| 
 | ||||
|             if (v.size() > 1) { | ||||
|                 // sort arguments of the top-level and
 | ||||
|                 std::stable_sort(v.c_ptr(), v.c_ptr() + v.size(), ast_lt_proc()); | ||||
| 
 | ||||
|                 if (use_simplify_bounds) { | ||||
|                     // remove redundant inequalities
 | ||||
|                     simplify_bounds(v); | ||||
|  | @ -680,6 +677,8 @@ namespace { | |||
|                     v.reset(); | ||||
|                     egraph.to_lits(v); | ||||
|                 } | ||||
|                 // sort arguments of the top-level and
 | ||||
|                 std::stable_sort(v.c_ptr(), v.c_ptr() + v.size(), ast_lt_proc()); | ||||
| 
 | ||||
|                 TRACE("spacer_normalize", | ||||
|                       tout << "Normalized:\n" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue