Skip to content

Commit

Permalink
Set default for m_current_injection_position
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Aug 30, 2024
1 parent dea63a7 commit c62b14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Particles/WarpXParticleContainer.H
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public:
amrex::Vector<amrex::ParticleReal> m_E_external_particle;

//! Current injection position
amrex::Real m_current_injection_position;
amrex::Real m_current_injection_position = 0.;

// split along diagonals (0) or axes (1)
int split_type = 0;
Expand Down

0 comments on commit c62b14b

Please sign in to comment.