use explicit unsigned type in max operation
This commit is contained in:
parent
19f6d885fe
commit
22abc27b6b
@ -90,5 +90,5 @@ void GeometryCompressor::PrintStatistics() const {
|
||||
SimpleLogger().Write() <<
|
||||
"surv: " << surviving_node_count <<
|
||||
", comp: " << compressed_node_count <<
|
||||
", comp ratio: " << ((float)surviving_node_count/std::max(compressed_node_count), 1);
|
||||
", comp ratio: " << ((float)surviving_node_count/std::max(compressed_node_count, 1u) );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user