X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fsrc%2FbbPackRecalageReSlicerBox.cxx;h=7fcd742ea27f51c2a761fbaace8e6149365beabd;hb=86c3482ce714b8d4201c8d819a10b59e4e4440c4;hp=28a1d912aca2d7a9e73f41370ff3db0b7dbb1fb2;hpb=caf70b171caba0cb8c1e4c00688b27844f93e31b;p=creaRigidRegistration.git diff --git a/PackRecalage/src/bbPackRecalageReSlicerBox.cxx b/PackRecalage/src/bbPackRecalageReSlicerBox.cxx index 28a1d91..7fcd742 100644 --- a/PackRecalage/src/bbPackRecalageReSlicerBox.cxx +++ b/PackRecalage/src/bbPackRecalageReSlicerBox.cxx @@ -9,7 +9,7 @@ BBTK_BLACK_BOX_IMPLEMENTATION(ReSlicerBox,bbtk::AtomicBlackBox); void ReSlicerBox::Process() { - if(bbGetInputOrigin()[0]) + if(!bbGetInputOrigin().empty()) { image = vtkImageChangeInformation::New(); image->SetInput( bbGetInputIn() );