mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Merge pull request #2299 from pshriwise/ww_msg
Correction to error message regarding WW shape
This commit is contained in:
commit
7980d0b4c5
1 changed files with 3 additions and 3 deletions
|
|
@ -181,10 +181,10 @@ WeightWindows::WeightWindows(pugi::xml_node node)
|
|||
int num_weight_bins = lower_ww_.size();
|
||||
if (num_weight_bins != num_spatial_bins * num_energy_bins) {
|
||||
auto err_msg =
|
||||
fmt::format("In weight window domain {} the number of spatial "
|
||||
fmt::format("In weight window domain {} the number of "
|
||||
"energy/spatial bins ({}) does not match the number "
|
||||
"of weight bins ({})",
|
||||
id_, num_energy_bins, num_weight_bins);
|
||||
"of weight bins provided ({})",
|
||||
id_, num_energy_bins * num_spatial_bins, num_weight_bins);
|
||||
fatal_error(err_msg);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue