From 70e70e11ad51df163c8fec6d6222334d02e674c0 Mon Sep 17 00:00:00 2001 From: pospelov <pospelov@fz-juelich.de> Date: Sat, 6 Apr 2013 17:59:28 +0200 Subject: [PATCH] Repairing JCNS --- Tests/FunctionalTests/TestCore/IsGISAXS06/IsGISAXS06.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/FunctionalTests/TestCore/IsGISAXS06/IsGISAXS06.cpp b/Tests/FunctionalTests/TestCore/IsGISAXS06/IsGISAXS06.cpp index 4e9f983d822..0ab9fcc11c3 100644 --- a/Tests/FunctionalTests/TestCore/IsGISAXS06/IsGISAXS06.cpp +++ b/Tests/FunctionalTests/TestCore/IsGISAXS06/IsGISAXS06.cpp @@ -258,7 +258,8 @@ void FunctionalTests::IsGISAXS06::runvariants() int nbins = 3; double xi_min = 0.0*Units::degree; double xi_max = 240.0*Units::degree; - StochasticSampledParameter xi(StochasticDoubleGate(xi_min, xi_max), nbins, xi_min, xi_max); + StochasticDoubleGate xg(xi_min, xi_max); + StochasticSampledParameter xi(xg, nbins, xi_min, xi_max); for (size_t i=0; i<xi.getNbins(); ++i) { double xi_value = xi.getBinValue(i); double probability = xi.getNormalizedProbability(i); -- GitLab