Skip to content

Commit 260c526

Browse files
committed
Changed binary to logical operation in OptimalHelixPlaneCrossing
This got rid of a clang warning.
1 parent 5b7b69d commit 260c526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TrackingTools/GeomPropagators/interface/OptimalHelixPlaneCrossing.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class OptimalHelixPlaneCrossing {
2020
// barrel plane:
2121
// instantiate HelixBarrelPlaneCrossing,
2222
new (get()) HelixBarrelPlaneCrossingByCircle(args...);
23-
} else if ((std::abs(u.x()) < small) & (std::abs(u.y()) < small)) {
23+
} else if ((std::abs(u.x()) < small) && (std::abs(u.y()) < small)) {
2424
// forward plane:
2525
// instantiate HelixForwardPlaneCrossing
2626
new (get()) HelixForwardPlaneCrossing(args...);

0 commit comments

Comments
 (0)