diff --git a/Sample/Interference/IInterferenceFunctionStrategy.cpp b/Sample/Interference/IInterferenceFunctionStrategy.cpp index 89cc44c9af0a52caa79ede41fdd599ae7af04752..6e10637e49fdff476658f3934a31e8f7319253b1 100644 --- a/Sample/Interference/IInterferenceFunctionStrategy.cpp +++ b/Sample/Interference/IInterferenceFunctionStrategy.cpp @@ -50,8 +50,7 @@ IInterferenceFunctionStrategy::evaluateSinglePoint(const SimulationElement& sim_ { if (!m_polarized) return scalarCalculation(sim_element); - else - return polarizedCalculation(sim_element); + return polarizedCalculation(sim_element); } //! Performs a Monte Carlo integration over the bin for the evaluation of the intensity.