]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkPiecewiseFunction.cxx
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / vtk / src / bbvtkPiecewiseFunction.cxx
index c667b6eaba55365605e0b73614d49be5a4d1a053..6d77609279c0ae6bd586e0de8dcd6540ad75ddc9 100644 (file)
@@ -92,11 +92,9 @@ namespace bbvtk
          ( bbGetInputStatus("Y") != bbtk::UPTODATE ) )
        {
         if  ( bbGetInputX().size() != bbGetInputY().size() ) 
-          bbtkError(bbGetFullName()
-                    <<" : input vectors X and Y do not have the same size"); 
+          bbtkError(bbGetFullName() <<" : input vectors X and Y do not have the same size"); 
         if  ( bbGetInputX().size() < 2 ) 
-          bbtkError(bbGetFullName()
-                    <<" : input vectors X and Y have a size < 2"); 
+          bbtkError(bbGetFullName() <<" : input vectors X and Y have a size < 2"); 
         bbGetOutputOut()->RemoveAllPoints ();
         //      std::cout << bbGetInputX().size()<< ","<< bbGetInputY().size()<< std::endl;
         std::vector<float>::const_iterator x,y;
@@ -108,10 +106,11 @@ namespace bbvtk
           {
             //              std::cout << *x << " -> " << *y << std::endl;
             bbGetOutputOut()->AddPoint(*x,*y);
-          }
-       }
+          } // for x ,y
+       } // if InputX
    }
 
+
 }//namespace bbtk
 
 #endif // _USE_VTK_