Skip to content

Commit

Permalink
Fix for compilation - due to change to use fieldConstants.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jonapost committed Feb 26, 2022
1 parent d7c2730 commit fbdb0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magneticfield/inc/fieldPropagatorConstBz.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ __host__ __device__ double fieldPropagatorConstBz::ComputeStepAndNextVolume(
double momentumXYMag =
momentumMag * sqrt((1. - direction[2]) * (1. + direction[2])); // only XY component matters for the curvature

double curv = std::fabs(ConstBzFieldStepper::kB2C * charge * BzValue) / (momentumXYMag + 1.0e-30); // norm for step
double curv = std::fabs(fieldConstants::kB2C * charge * BzValue) / (momentumXYMag + 1.0e-30); // norm for step

constexpr double gEpsilonDeflect = 1.E-2 * copcore::units::cm;

Expand Down

0 comments on commit fbdb0ba

Please sign in to comment.