From 18f78a062871f507ac37ca200ae43e2bc1ac2933 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Mon, 12 Jul 2021 16:38:00 +0200 Subject: [PATCH] -auto --- Core/Simulation/ISimulation2D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Simulation/ISimulation2D.cpp b/Core/Simulation/ISimulation2D.cpp index 6a0ca4e22d9..3ffd5250eb5 100644 --- a/Core/Simulation/ISimulation2D.cpp +++ b/Core/Simulation/ISimulation2D.cpp @@ -101,7 +101,7 @@ ISimulation2D::generateSingleThreadedComputation(const ProcessedSample& re_sampl { ASSERT(start < m_sim_elements.size() && start + n_elements <= m_sim_elements.size()); const auto& begin = m_sim_elements.begin() + static_cast<long>(start); - const auto polarized = + const bool polarized = this->detector().detectionProperties().analyzerDirection() != kvector_t{}; return std::make_unique<DWBAComputation>(re_sample, options(), progress(), begin, begin + static_cast<long>(n_elements), polarized); -- GitLab