From bd86b724b781fec8df2b0d91ab9a9c5f02e71d28 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Tue, 22 Nov 2022 09:35:38 +0100 Subject: [PATCH] make use of lambda's [=] --- Sample/HardParticle/HemiEllipsoid.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sample/HardParticle/HemiEllipsoid.cpp b/Sample/HardParticle/HemiEllipsoid.cpp index bed10e26067..33549ed7d91 100644 --- a/Sample/HardParticle/HemiEllipsoid.cpp +++ b/Sample/HardParticle/HemiEllipsoid.cpp @@ -53,10 +53,6 @@ complex_t HemiEllipsoid::formfactor_at_bottom(C3 q) const return M_TWOPI * H * ComplexIntegrator().integrate( [=](double z) { - double R = m_radius_x; - double W = m_radius_y; - double H = m_height; - double Rz = R * std::sqrt(1.0 - z * z); double Wz = W * std::sqrt(1.0 - z * z); -- GitLab