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

repair 1

parent 2a3f930b
No related branches found
No related tags found
1 merge request!1312rm IRangedDistribution with children, and ScanResolution
...@@ -431,7 +431,7 @@ test::makeSimulation::TOFRWithRelativeResolution(const MultiLayer& sample) ...@@ -431,7 +431,7 @@ test::makeSimulation::TOFRWithRelativeResolution(const MultiLayer& sample)
{ {
FixedBinAxis qs("axis", 500, 0.0, 1.0); FixedBinAxis qs("axis", 500, 0.0, 1.0);
QzScan scan(qs); QzScan scan(qs);
scan.setRelativeQResolution(DistributionGaussian(20, 2.0), 0.03); scan.setRelativeQResolution(DistributionGaussian(0., 1., 20, 2.0), 0.03);
auto result = std::make_unique<SpecularSimulation>(scan, sample); auto result = std::make_unique<SpecularSimulation>(scan, sample);
result->options().setUseAvgMaterials(true); result->options().setUseAvgMaterials(true);
......
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