Skip to content

Commit

Permalink
Add missing ).
Browse files Browse the repository at this point in the history
  • Loading branch information
cemitch99 committed Nov 21, 2023
1 parent f0d621f commit 451a2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/particles/elements/ThinDipole.H
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace impactx

// compute the function expressing dp/p in terms of pt (labeled f in Ripken etc.)
amrex::ParticleReal f = -1.0_prt + sqrt(1.0_prt - 2.0_prt*pt/beta_ref + pow(pt,2));
amrex::ParticleReal fprime = (1.0_prt + beta_ref*pt)/(beta_ref*(1.0_prt + f);
amrex::ParticleReal fprime = (1.0_prt + beta_ref*pt)/(beta_ref*(1.0_prt + f));

// compute the effective (equivalent) arc length and curvature
amrex::ParticleReal ds = m_theta*m_rc;
Expand Down

0 comments on commit 451a2b0

Please sign in to comment.