Fixing sign for uint max comparison

This commit is contained in:
Patrick Shriwise 2022-10-20 20:54:43 -05:00
parent 06729507ce
commit 93065d188b

View file

@ -227,7 +227,7 @@ vector<VolumeCalculation::Result> VolumeCalculation::execute() const
// warn user if total sample size is greater than what the size_t type can
// represent
if (total_samples > UINT64_T_MAX) {
if (total_samples == UINT64_T_MAX) {
warning("The number of samples has exceeded the type used to track hits. "
"Volume "
"results may be inaccurate.");