From 9b6e1a0d66541f8b64c40fee5fae7b0121e37e7d Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Mon, 6 Jan 2025 11:10:53 +0000 Subject: [PATCH] fix type comparison --- src/weight_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/weight_windows.cpp b/src/weight_windows.cpp index 68f7550ae5a..e798a2f7abd 100644 --- a/src/weight_windows.cpp +++ b/src/weight_windows.cpp @@ -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 "