From 93065d188bdffe09138b6ecc34c686ae4d52432d Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Thu, 20 Oct 2022 20:54:43 -0500 Subject: [PATCH] Fixing sign for uint max comparison --- src/volume_calc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volume_calc.cpp b/src/volume_calc.cpp index 126edd927..e36b88904 100644 --- a/src/volume_calc.cpp +++ b/src/volume_calc.cpp @@ -227,7 +227,7 @@ vector 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.");