Skip to content
Snippets Groups Projects
Commit bd86b724 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

make use of lambda's [=]

parent 36f5bdde
No related branches found
No related tags found
1 merge request!1145Optimize integrands in form factor quadrature
...@@ -53,10 +53,6 @@ complex_t HemiEllipsoid::formfactor_at_bottom(C3 q) const ...@@ -53,10 +53,6 @@ complex_t HemiEllipsoid::formfactor_at_bottom(C3 q) const
return M_TWOPI * H return M_TWOPI * H
* ComplexIntegrator().integrate( * ComplexIntegrator().integrate(
[=](double z) { [=](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 Rz = R * std::sqrt(1.0 - z * z);
double Wz = W * std::sqrt(1.0 - z * z); double Wz = W * std::sqrt(1.0 - z * z);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment