Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Dec 21, 2023
1 parent 38dd415 commit c72c3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Diagnostics/ReducedDiags/BeamRelevant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void BeamRelevant::ComputeDiags (int step)
const ParticleReal p_pos1 = p.pos(1);
const ParticleReal p_x_mean = p_pos0*p_w;
const ParticleReal p_y_mean = p_pos1*p_w;
#elif (defined WARPX_DIM_RZ)
#elif defined(WARPX_DIM_RZ)
const ParticleReal p_theta = p.rdata(PIdx::theta);
const ParticleReal p_x_mean = p_pos0*std::cos(p_theta)*p_w;
const ParticleReal p_y_mean = p_pos0*std::sin(p_theta)*p_w;
Expand Down

0 comments on commit c72c3db

Please sign in to comment.