Skip to content

Commit

Permalink
Added default to the symmetry_correction flag
Browse files Browse the repository at this point in the history
  • Loading branch information
the-florist committed Sep 9, 2024
1 parent d01cdf7 commit 8bbb859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/GRChomboCore/BoundaryConditions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void BoundaryConditions::params_t::read_params(GRParmParse &pp)
if (reflective_boundaries_exist)
{
int symmetry_correction = 0;
pp.load("symmetry_correction", symmetry_correction);
pp.load("symmetry_correction", symmetry_correction, 0);
if (symmetry_correction != 0)
{
for (int d = 0; d < CH_SPACEDIM; d++)
Expand Down

0 comments on commit 8bbb859

Please sign in to comment.