Fix type comparison (#3244)

This commit is contained in:
Andrew Davis 2025-01-08 18:16:01 +00:00 committed by GitHub
parent 10a63bbd27
commit 4492f9db10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -737,7 +737,7 @@ WeightWindowsGenerator::WeightWindowsGenerator(pugi::xml_node node)
int32_t mesh_idx = model::mesh_map[mesh_id];
max_realizations_ = std::stoi(get_node_value(node, "max_realizations"));
int active_batches = settings::n_batches - settings::n_inactive;
int32_t active_batches = settings::n_batches - settings::n_inactive;
if (max_realizations_ > active_batches) {
auto msg =
fmt::format("The maximum number of specified tally realizations ({}) is "