mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Fixing sign for uint max comparison
This commit is contained in:
parent
06729507ce
commit
93065d188b
1 changed files with 1 additions and 1 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue