Skip to content

Commit

Permalink
Fix type comparison (#3244)
Browse files Browse the repository at this point in the history
  • Loading branch information
makeclean authored Jan 8, 2025
1 parent 10a63bb commit 4492f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/weight_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 4492f9d

Please sign in to comment.