Skip to content

Commit

Permalink
Fix deprecated-copy warnings in MagneticField/ParametrizedEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Nov 27, 2023
1 parent d11a112 commit 134da5e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion MagneticField/ParametrizedEngine/src/rz_harm_poly.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ namespace magfieldparam {
double SinPhi;

trig_pair() : CosPhi(1.), SinPhi(0.) {}
trig_pair(const trig_pair &tp) : CosPhi(tp.CosPhi), SinPhi(tp.SinPhi) {}
trig_pair(const double C, const double S) : CosPhi(C), SinPhi(S) {}
trig_pair(const double phi) : CosPhi(cos(phi)), SinPhi(sin(phi)) {}

Expand Down

0 comments on commit 134da5e

Please sign in to comment.