mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	remove std::max for #1752
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									85e7b18451
								
							
						
					
					
						commit
						e8a78ec696
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -152,7 +152,7 @@ class mpz_manager { | |||
|      | ||||
|     // make sure that n is a big number and has capacity equal to at least c.
 | ||||
|     void allocate_if_needed(mpz & n, unsigned c) { | ||||
|         c = std::max(c, m_init_cell_capacity); | ||||
|         if (m_init_cell_capacity > c) c = m_init_cell_capacity; | ||||
|         if (n.m_ptr == nullptr || capacity(n) < c) { | ||||
|             deallocate(n); | ||||
|             n.m_val             = 1; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue