Skip to content

Commit

Permalink
Merge pull request #40810 from Dr15Jones/clangOptimalHelixPlaneCrossing
Browse files Browse the repository at this point in the history
Changed binary to logical operation in OptimalHelixPlaneCrossing
  • Loading branch information
cmsbuild committed Feb 21, 2023
2 parents 51c2170 + 260c526 commit c2981e4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -20,7 +20,7 @@ class OptimalHelixPlaneCrossing {
// barrel plane:
// instantiate HelixBarrelPlaneCrossing,
new (get()) HelixBarrelPlaneCrossingByCircle(args...);
} else if ((std::abs(u.x()) < small) & (std::abs(u.y()) < small)) {
} else if ((std::abs(u.x()) < small) && (std::abs(u.y()) < small)) {
// forward plane:
// instantiate HelixForwardPlaneCrossing
new (get()) HelixForwardPlaneCrossing(args...);
Expand Down

0 comments on commit c2981e4

Please sign in to comment.