]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageReSlicerBox.cxx
*** empty log message ***
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageReSlicerBox.cxx
index 28a1d912aca2d7a9e73f41370ff3db0b7dbb1fb2..7fcd742ea27f51c2a761fbaace8e6149365beabd 100644 (file)
@@ -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() );