From 70981bcd5df1fde7e6a26376dd7ba8f8587b87c2 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Mon, 14 Nov 2022 13:05:22 -0600 Subject: [PATCH] Correction to error message regarding WW shape --- 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 f0431f71f2..a433cc6b39 100644 --- a/src/weight_windows.cpp +++ b/src/weight_windows.cpp @@ -184,7 +184,7 @@ WeightWindows::WeightWindows(pugi::xml_node node) fmt::format("In weight window domain {} the number of spatial " "energy/spatial bins ({}) does not match the number " "of weight bins ({})", - id_, num_energy_bins, num_weight_bins); + id_, num_energy_bins * num_spatial_bins, num_weight_bins); fatal_error(err_msg); } }