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

spell out auto

parent 50cb449b
No related branches found
No related tags found
1 merge request!1300Merge IScanResolution and child classes -> ScanResolution
......@@ -62,8 +62,10 @@ std::vector<SpecularElement> AlphaScan::generateElements() const
result.reserve(nSteps());
for (size_t i = 0; i < m_axis->size(); ++i) {
const auto lambdaDistrib = m_lambda_distrib->resolutionSamples(wavelength());
const auto alphaDistrib = m_alpha_distrib->resolutionSamples(m_axis->binCenters()[i]);
const std::vector<ParameterSample> lambdaDistrib =
m_lambda_distrib->resolutionSamples(wavelength());
const std::vector<ParameterSample> alphaDistrib =
m_alpha_distrib->resolutionSamples(m_axis->binCenters()[i]);
for (size_t j = 0; j < alphaDistrib.size(); ++j) {
const double alpha = alphaDistrib[j].value;
for (size_t k = 0; k < lambdaDistrib.size(); ++k) {
......
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