Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and clarkse committed Sep 24, 2024
1 parent 4535779 commit c0bb670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WarpX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ WarpX::ReadParameters ()
// Instead, if warpx.grid_type=collocated, the momentum-conserving and
// energy conserving field gathering algorithms are equivalent (forces
// gathered from the collocated grid) and no fields centering occurs.
if ((WarpX::field_gathering_algo == GatheringAlgo::MomentumConserving
if ((WarpX::field_gathering_algo == GatheringAlgo::MomentumConserving
&& WarpX::grid_type != GridType::Collocated)
|| WarpX::electrostatic_solver_id == ElectrostaticSolverAlgo::LabFrameElectroMagnetostatic)
{
Expand Down

0 comments on commit c0bb670

Please sign in to comment.