From 72985692a34abfef726501d2f083e03b081100d0 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de>
Date: Wed, 4 May 2016 12:14:41 +0200
Subject: [PATCH] Bugfix: PyGenVisitor still exported 'radius' of Cone6.
 Discovered after computation of radius had changed in consequence of modfied
 z coodinate of origin.

---
 Core/Tools/PyGenVisitor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Core/Tools/PyGenVisitor.cpp b/Core/Tools/PyGenVisitor.cpp
index 026329cf6d5..2575a9e5ce9 100644
--- a/Core/Tools/PyGenVisitor.cpp
+++ b/Core/Tools/PyGenVisitor.cpp
@@ -433,7 +433,7 @@ std::string PyGenVisitor::defineFormFactors() const
 
         else if (const FormFactorCone6 *cone6 = dynamic_cast<const FormFactorCone6 *>(p_ff)) {
             result << " = FormFactorCone6("
-                   << PyGenTools::printNm(cone6->getRadius()) << ", "
+                   << PyGenTools::printNm(cone6->getBaseEdge()) << ", "
                    << PyGenTools::printNm(cone6->getHeight()) << ", "
                    << PyGenTools::printDegrees(cone6->getAlpha()) << ")\n";
         }
-- 
GitLab