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

fix unit test - all pass

parent ecb6bf89
No related branches found
No related tags found
1 merge request!2648revert Detector2D c'tor to old argument list
Pipeline #150225 passed
......@@ -40,8 +40,7 @@ public:
sample.addLayer(Layer(material));
sample.addLayer(Layer(material));
Detector2D detector(m_xmax - m_xmin, m_ymax - m_ymin, m_nx, m_ny, (m_xmin + m_xmax) / 2,
(m_ymin + m_ymax) / 2);
Detector2D detector(m_nx, m_xmin, m_xmax, m_ny, m_ymin, m_ymax);
std::unique_ptr<ScatteringSimulation> result(
new ScatteringSimulation(Beam(1., 1., 0.), sample, detector));
......
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