Skip to content

Commit

Permalink
Clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
robbietuk committed Oct 20, 2020
1 parent c6fbe6f commit c540018
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/swig/stir.i
Original file line number Diff line number Diff line change
Expand Up @@ -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<TargetT >& stir::IterativeReconstruction<TargetT >::get_objective_function,
%arg(stir::PoissonLogLikelihoodWithLinearModelForMeanAndProjData<TargetT >));
*/
*/

// tell SWIG to convert the return of get_prior_ptr etc to the appropriate object
%newobject *::get_prior_ptr;
%factory(stir::GeneralisedPrior<TargetT> *stir::GeneralisedObjectiveFunction< TargetT >::get_prior_ptr,
stir::QuadraticPrior<elemT>,
Expand Down

0 comments on commit c540018

Please sign in to comment.