From e9aa54dd6a8b1010f17237d715e76a6f557ecc93 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Tue, 18 Oct 2016 17:35:08 +0200 Subject: [PATCH] Fix compile error --- DDCore/src/CartesianGridXY.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DDCore/src/CartesianGridXY.cpp b/DDCore/src/CartesianGridXY.cpp index a09a700fa..cf9ade5ef 100644 --- a/DDCore/src/CartesianGridXY.cpp +++ b/DDCore/src/CartesianGridXY.cpp @@ -33,8 +33,8 @@ CartesianGridXY::CartesianGridXY(const Segmentation& e) : Handle<Object>() } /// determine the position based on the cell ID -Position CartesianGridXY::position(const CellID& cellID) const { - return Position(access()->position(cellID)); +Position CartesianGridXY::position(const CellID& id) const { + return Position(access()->position(id)); } /// determine the cell ID based on the position @@ -84,6 +84,6 @@ const string& CartesianGridXY::fieldNameY() const { -# size in x -# size in y */ -vector<double> CartesianGridXY::cellDimensions(const CellID& cellID) const { - return access()->cellDimensions(cellID); +vector<double> CartesianGridXY::cellDimensions(const CellID& id) const { + return access()->cellDimensions(id); } -- GitLab