From efc519c325358a12236458fc355dbc520083df9c Mon Sep 17 00:00:00 2001 From: Kris Thielemans Date: Tue, 30 Jul 2024 07:14:21 +0100 Subject: [PATCH] fix ScatterEstimation when no randoms fixing an oversight --- src/scatter_buildblock/ScatterEstimation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scatter_buildblock/ScatterEstimation.cxx b/src/scatter_buildblock/ScatterEstimation.cxx index c157f4af8..3ceb4cf1d 100644 --- a/src/scatter_buildblock/ScatterEstimation.cxx +++ b/src/scatter_buildblock/ScatterEstimation.cxx @@ -716,7 +716,7 @@ ScatterEstimation::set_up_iterative(shared_ptrmultiplicative_binnorm_2d_sptr.reset(new ChainedBinNormalisation(norm_coeff_2d_sptr, atten_coeff_2d_sptr)); this->multiplicative_binnorm_2d_sptr->set_up( - this->back_projdata_sptr->get_exam_info_sptr(), + this->input_projdata_2d_sptr->get_exam_info_sptr(), this->input_projdata_2d_sptr->get_proj_data_info_sptr()->create_shared_clone()); iterative_object->get_objective_function_sptr()->set_normalisation_sptr(multiplicative_binnorm_2d_sptr); }