diff --git a/RecoVertex/LinearizationPointFinders/src/CrossingPtBasedLinearizationPointFinder.cc b/RecoVertex/LinearizationPointFinders/src/CrossingPtBasedLinearizationPointFinder.cc index 09ca41f5ae8fe..d9fb921e76cb6 100644 --- a/RecoVertex/LinearizationPointFinders/src/CrossingPtBasedLinearizationPointFinder.cc +++ b/RecoVertex/LinearizationPointFinders/src/CrossingPtBasedLinearizationPointFinder.cc @@ -34,6 +34,7 @@ inline GlobalPoint operator / ( const GlobalPoint & a, const double b ) return GlobalPoint ( a.x() / b, a.y() / b, a.z() / b ); } +#ifndef __clang__ inline GlobalPoint operator * ( const GlobalPoint & a, const double b ) { return GlobalPoint ( a.x() * b, a.y() * b, a.z() * b ); @@ -43,6 +44,7 @@ inline GlobalPoint operator * ( const double b , const GlobalPoint & a ) { return GlobalPoint ( a.x() * b, a.y() * b, a.z() * b ); } +#endif inline unsigned int sum ( unsigned int nr ) {