From d704656aae8678ecb5a9a5e0bf5e64d81a06128b Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Wed, 27 Mar 2024 14:06:18 -0500
Subject: [PATCH] fix: test_shapes Polycone with ordered z-planes

---
 DDTest/src/test_shapes.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DDTest/src/test_shapes.cc b/DDTest/src/test_shapes.cc
index d08112987..866b653ea 100644
--- a/DDTest/src/test_shapes.cc
+++ b/DDTest/src/test_shapes.cc
@@ -20,7 +20,7 @@ int main(int /* argc */, char** /* argv */ ){
 
     // add single plane with addZPlanes
     dd4hep::Polycone polycone(0, 2*M_PI, {0, 0}, {1, 1}, {0, 1});
-    polycone.addZPlanes({0}, {1}, {0.5});
+    polycone.addZPlanes({0}, {1}, {2});
 
     // --------------------------------------------------------------------
   }
-- 
GitLab