Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Sep 27, 2024
1 parent 21c0c5d commit 69b767e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mesh/mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ void Mesh::SetBCNames_(ParameterInput *pin) {
// boundaries are decoupled.
for (int i = 0; i < BOUNDARY_NFACES; ++i) {
if (mesh_bc_names[i] == "periodic") {
PARTHENON_REQUIRE(mesh_swarm_bc_names == "periodic",
PARTHENON_REQUIRE(mesh_swarm_bc_names[i] == "periodic",
"If the mesh is periodic, swarms must be also.");
}
}
Expand Down

0 comments on commit 69b767e

Please sign in to comment.