Skip to content

Commit

Permalink
Adapt to ROOT 6.31. See issue #1210
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusFrankATcernch committed Jan 12, 2024
1 parent 8771e2b commit 0a2267e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDCore/src/ShapeUtilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ namespace dd4hep {
const TGeoFacet& f = sh->GetFacet(i);
pars.emplace_back(double(f.GetNvert()));
for(int j=0, n=f.GetNvert(); j<n; ++j) {
#if ROOT_VERSION_CODE >= ROOT_VERSION(6,31,1)
#if ROOT_VERSION_CODE > ROOT_VERSION(6,31,1)
int idx = f[j];
pars.emplace_back(double(idx));
#else
Expand Down

0 comments on commit 0a2267e

Please sign in to comment.