X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fsrc%2FbbPackRecalageTransform2DBox.cxx;h=6a7bd1b71d78430833b5b468cad00e3709676376;hb=c516e4e70b2b455abdc1f6d9a22db1767794e136;hp=788bca6532a0c86cd6518429553aab2b1070c182;hpb=74a3edf7daa058147c5308ff230a2c3d7658d9ef;p=creaRigidRegistration.git diff --git a/PackRecalage/src/bbPackRecalageTransform2DBox.cxx b/PackRecalage/src/bbPackRecalageTransform2DBox.cxx index 788bca6..6a7bd1b 100644 --- a/PackRecalage/src/bbPackRecalageTransform2DBox.cxx +++ b/PackRecalage/src/bbPackRecalageTransform2DBox.cxx @@ -7,7 +7,7 @@ BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,Transform2DBox) BBTK_BLACK_BOX_IMPLEMENTATION(Transform2DBox,bbtk::AtomicBlackBox); void Transform2DBox::Process() { - if(bbGetInputCenterPoint()[0] != NULL) + if(bbGetInputCenterPoint()[0]) { // The inputs are set in the library transformer transformer->SetCenterPoint( bbGetInputCenterPoint() );