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

replace setBeamParameters

parent b230e47f
No related branches found
No related tags found
2 merge requests!907Core cleanup,!905mv class Instrument out of core
...@@ -98,7 +98,7 @@ void SpecularSimulation::setScan(const ISpecularScan& scan) ...@@ -98,7 +98,7 @@ void SpecularSimulation::setScan(const ISpecularScan& scan)
// TODO: remove when pointwise resolution is implemented // TODO: remove when pointwise resolution is implemented
if (const auto* aScan = dynamic_cast<const AlphaScan*>(&scan)) if (const auto* aScan = dynamic_cast<const AlphaScan*>(&scan))
instrument().setBeamParams(aScan->wavelength(), 0.0, 0.0); beam().setWavelength(aScan->wavelength());
} }
const IAxis* SpecularSimulation::coordinateAxis() const const IAxis* SpecularSimulation::coordinateAxis() const
......
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