Skip to content

Commit

Permalink
Merge pull request #43399 from iarspider/fix-deprecated-copy-rz_harm_…
Browse files Browse the repository at this point in the history
…poly

Fix deprecated-copy warnings in MagneticField/ParametrizedEngine
  • Loading branch information
cmsbuild authored Dec 1, 2023
2 parents 666b70f + 134da5e commit 120f1a7
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 120f1a7

Please sign in to comment.