mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	check bits for next_val
This commit is contained in:
		
							parent
							
								
									2a3c8d2b82
								
							
						
					
					
						commit
						3740e766f7
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -1628,6 +1628,14 @@ namespace polysat { | |||
|             if (distance(val, n, mod_value) < distance(val, next_val, mod_value)) | ||||
|                 next_val = n; | ||||
|         } | ||||
|         if (entry* e = refine_bits<false>(v, next_val, w, fbi)) { | ||||
|             refine_todo.push_back(e); | ||||
|             rational const& n = e->interval.lo_val(); | ||||
|             SASSERT(distance(val, n, mod_value) < distance(val, next_val, mod_value)); | ||||
|             next_val = n; | ||||
|         } | ||||
|         SASSERT(!refine_bits<true>(v, val, w, fbi)); | ||||
|         SASSERT(val != next_val); | ||||
| 
 | ||||
|         unsigned const lower_w = widths[w_idx - 1]; | ||||
|         rational const lower_mod_value = rational::power_of_two(lower_w); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue