From c5400182e8d666d0bf50161135bd782e6f213a58 Mon Sep 17 00:00:00 2001 From: Robert Twyman Date: Tue, 20 Oct 2020 18:09:39 +0100 Subject: [PATCH] Clean up comments --- src/swig/stir.i | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/swig/stir.i b/src/swig/stir.i index ef9e0e73e4..441c894254 100644 --- a/src/swig/stir.i +++ b/src/swig/stir.i @@ -1576,14 +1576,14 @@ namespace stir { %shared_ptr(stir::FBP2DReconstruction); %shared_ptr(stir::FBP3DRPReconstruction); -// tell SWIG to convert the return of get_prior_ptr etc to the appropriate object /* This currently fails, so is still commented out - %newobject *::get_objective_function; %factory( stir::GeneralisedObjectiveFunction& stir::IterativeReconstruction::get_objective_function, %arg(stir::PoissonLogLikelihoodWithLinearModelForMeanAndProjData)); -*/ +*/ + +// tell SWIG to convert the return of get_prior_ptr etc to the appropriate object %newobject *::get_prior_ptr; %factory(stir::GeneralisedPrior *stir::GeneralisedObjectiveFunction< TargetT >::get_prior_ptr, stir::QuadraticPrior,