Skip to content

Commit

Permalink
removed commented-out backup lines
Browse files Browse the repository at this point in the history
  • Loading branch information
evgueni-ovtchinnikov committed Feb 21, 2024
1 parent 82e318a commit 94fd578
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/Registration/cReg/NiftiBasedRegistration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const std::shared_ptr<const Transformation<dataType> > NiftiBasedRegistration<da
// Get deformation as NiftiImageData3DDisplacement (from Transformation)
std::shared_ptr<const NiftiImageData3DDeformation<dataType> > def_fwd = std::dynamic_pointer_cast<const NiftiImageData3DDeformation<dataType> >(this->get_deformation_field_forward_sptr(idx));
return std::make_shared<NiftiImageData3DDisplacement<dataType> >(*def_fwd);
//return std::move(std::make_shared<NiftiImageData3DDisplacement<dataType> >(*def_fwd));
}

template<class dataType>
Expand All @@ -60,7 +59,6 @@ const std::shared_ptr<const Transformation<dataType> > NiftiBasedRegistration<da
// Get deformation as NiftiImageData3DDisplacement (from Transformation)
std::shared_ptr<const NiftiImageData3DDeformation<dataType> > def_inv = std::dynamic_pointer_cast<const NiftiImageData3DDeformation<dataType> >(this->get_deformation_field_inverse_sptr(idx));
return std::make_shared<NiftiImageData3DDisplacement<dataType> >(*def_inv);
//return std::move(std::make_shared<NiftiImageData3DDisplacement<dataType> >(*def_inv));
}

namespace sirf {
Expand Down
1 change: 0 additions & 1 deletion src/Synergistic/sirf_registration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ static std::shared_ptr<const ImageData> image_as_sptr(const std::string &filenam
std::shared_ptr<GadgetronImageData> sptr_img(new GadgetronImagesVector);
sptr_img->read(filename);
return sptr_img;
//return std::move(sptr_img);
}
else
throw std::runtime_error("sirf_registration: unknown image engine - " + engine + ".\n");
Expand Down

0 comments on commit 94fd578

Please sign in to comment.