Merge pull request #1824 from openmc-dev/gridley-patch-2

fix typo in fmt string for a lattice error
This commit is contained in:
Paul Romano 2021-04-27 07:47:48 -05:00 committed by GitHub
commit e1beda6c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,7 +184,7 @@ RectLattice::RectLattice(pugi::xml_node lat_node)
std::vector<std::string> univ_words {split(univ_str)};
if (univ_words.size() != nx*ny*nz) {
fatal_error(fmt::format(
"Expected {} universes for a rectangular lattice of size {}x{]x{} but {} "
"Expected {} universes for a rectangular lattice of size {}x{}x{} but {} "
"were specified.", nx*ny*nz, nx, ny, nz, univ_words.size()));
}