Skip to content

Commit

Permalink
Update src/analytic/FBP3DRP/FBP3DRPReconstruction.cxx for shared_ptr …
Browse files Browse the repository at this point in the history
…changes
  • Loading branch information
KrisThielemans committed Jun 19, 2020
1 parent b653613 commit 3d5513d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analytic/FBP3DRP/FBP3DRPReconstruction.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ set_up(shared_ptr <DiscretisedDensity<3,float> > const& target_image_sptr)
if (base_type::set_up(target_image_sptr) == Succeeded::no)
return Succeeded::no;

if (dynamic_cast<const ProjDataInfoCylindrical *> (proj_data_ptr->get_proj_data_info_ptr()) == 0)
if (dynamic_cast<const ProjDataInfoCylindrical *> (proj_data_ptr->get_proj_data_info_sptr().get()) == 0)
error("FBP3DRP currently needs cylindrical projection data. Sorry");

if (colsher_stretch_factor_planar<1 || colsher_stretch_factor_axial<1)
Expand Down

0 comments on commit 3d5513d

Please sign in to comment.