mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fix type comparison (#3244)
This commit is contained in:
parent
10a63bbd27
commit
4492f9db10
1 changed files with 1 additions and 1 deletions
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue