Commit 5dd50120 authored by Sandro Christian Wenzel's avatar Sandro Christian Wenzel Committed by Sandro Christian Wenzel
Browse files

PolyhedronStruct: Fix CUDA compile warning

parent 415d0e9f
......@@ -42,6 +42,8 @@ struct ZSegment {
Quadrilaterals outer; ///< Should always be non-empty.
Quadrilaterals phi; ///< Is empty if fHasPhiCutout is false.
Quadrilaterals inner; ///< Is empty hasInnerRadius is false.
VECCORE_ATT_HOST_DEVICE
bool hasInnerRadius() const { return inner.size() > 0; }
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment