From 61845ce32f826504268ae8d8bf15fe6c795b4d88 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Tue, 31 Mar 2015 09:15:15 +0000 Subject: [PATCH] PolarGridRPhi2: Make offset parameters explicitely double --- DDSegmentation/src/PolarGridRPhi2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DDSegmentation/src/PolarGridRPhi2.cpp b/DDSegmentation/src/PolarGridRPhi2.cpp index 9e8e2026c..706b0d55f 100644 --- a/DDSegmentation/src/PolarGridRPhi2.cpp +++ b/DDSegmentation/src/PolarGridRPhi2.cpp @@ -20,8 +20,8 @@ PolarGridRPhi2::PolarGridRPhi2(const std::string& cellEncoding) : // register all necessary parameters registerParameter("grid_r_values", "Vector of R values", _gridRValues, std::vector<double>(), SegmentationParameter::LengthUnit, true); registerParameter("grid_phi_values", "Cell size in Phi", _gridPhiValues, std::vector<double>(), SegmentationParameter::AngleUnit); - registerParameter("offset_r", "Cell offset in R", _offsetR, 0., SegmentationParameter::LengthUnit, true); - registerParameter("offset_phi", "Cell offset in Phi", _offsetPhi, 0., SegmentationParameter::AngleUnit, true); + registerParameter("offset_r", "Cell offset in R", _offsetR, double(0.), SegmentationParameter::LengthUnit, true); + registerParameter("offset_phi", "Cell offset in Phi", _offsetPhi, double(0.), SegmentationParameter::AngleUnit, true); registerIdentifier("identifier_r", "Cell ID identifier for R", _rId, "r"); registerIdentifier("identifier_phi", "Cell ID identifier for Phi", _phiId, "phi"); } -- GitLab