Skip to content

Commit

Permalink
Changed binary to logical operation in OptimalHelixPlaneCrossing
Browse files Browse the repository at this point in the history
This got rid of a clang warning.
  • Loading branch information
Dr15Jones committed Feb 17, 2023
1 parent 5b7b69d commit 260c526
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 260c526

Please sign in to comment.