From 260c526691d1ba23cec072177e71fda240729ac3 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Fri, 17 Feb 2023 09:26:33 -0600 Subject: [PATCH] Changed binary to logical operation in OptimalHelixPlaneCrossing This got rid of a clang warning. --- .../GeomPropagators/interface/OptimalHelixPlaneCrossing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TrackingTools/GeomPropagators/interface/OptimalHelixPlaneCrossing.h b/TrackingTools/GeomPropagators/interface/OptimalHelixPlaneCrossing.h index f226df4d48fc9..62585043651e5 100644 --- a/TrackingTools/GeomPropagators/interface/OptimalHelixPlaneCrossing.h +++ b/TrackingTools/GeomPropagators/interface/OptimalHelixPlaneCrossing.h @@ -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...);