From dda825c3597530388a7a38a687d0c2d92e0f7349 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Fri, 9 Aug 2019 13:06:06 +0200 Subject: [PATCH] Shapes: Sphere fix conversion for startTheta --- DDCore/src/Shapes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDCore/src/Shapes.cpp b/DDCore/src/Shapes.cpp index 4e97b6994..4fef10b02 100644 --- a/DDCore/src/Shapes.cpp +++ b/DDCore/src/Shapes.cpp @@ -864,7 +864,7 @@ void Sphere::make(const std::string& nam, double rmin, double rmax, double start /// Set the Sphere dimensions Sphere& Sphere::setDimensions(double rmin, double rmax, double startTheta, double endTheta, double startPhi, double endPhi) { - double params[] = { rmin, rmax, startTheta, endTheta/units::deg, startPhi/units::deg, endPhi/units::deg }; + double params[] = { rmin, rmax, startTheta/units::deg, endTheta/units::deg, startPhi/units::deg, endPhi/units::deg }; _setDimensions(params); return *this; } -- GitLab