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

+ const

parent 1bda1420
No related branches found
No related tags found
1 merge request!1145Optimize integrands in form factor quadrature
......@@ -43,9 +43,9 @@ double HemiEllipsoid::radialExtension() const
complex_t HemiEllipsoid::formfactor_at_bottom(C3 q) const
{
ASSERT(m_validated);
double R = m_radius_x;
double W = m_radius_y;
double H = m_height;
const double R = m_radius_x;
const double W = m_radius_y;
const double H = m_height;
if (std::abs(q.mag()) <= std::numeric_limits<double>::epsilon())
return M_TWOPI * R * W * H / 3.;
......
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