diff --git a/eic_data.yaml b/eic_data.yaml index 53cdde0c6125e4e773acb768fe9d38bfc7bdfc08..9dad43bdd76fa13832b52c3a0f5f4fa58dcc29a4 100644 --- a/eic_data.yaml +++ b/eic_data.yaml @@ -125,7 +125,7 @@ components: declaration: " VectorXYZ() : x{0}, y{0}, z{0} {}\n VectorXYZ(double xx, double yy, double zz) : x{static_cast<float>(xx)}, y{static_cast<float>(yy)}, z{static_cast<float>(zz)} {}\n - template<class VectorPolarType> VectorXYZ(const VectorPolarType& v) : VectorXYZ(v.x(), v.y(), v.z()) {}\n + template<class VectorPolarType> VectorXYZ(const VectorPolarType& v) : VectorXYZ(v.x, v.y, v.z) {}\n float& operator[](unsigned i) {return *(&x + i);}\n const float& operator[](unsigned i) const {return *(&x + i);}\n float mag() const {return std::hypot(x, y, z);}\n