fix typo in fmt string for a lattice error

This commit is contained in:
Gavin Ridley 2021-04-26 17:14:18 -04:00 committed by GitHub
parent 7f7977091d
commit e64a15d6b1
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()));
}