From 2c06bb278690d1069f31d06232437834192e5680 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Thu, 12 Apr 2018 09:32:08 +0200 Subject: [PATCH] Remove compilation warning --- common/clitkDicomRT_Contour.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/clitkDicomRT_Contour.cxx b/common/clitkDicomRT_Contour.cxx index bcff817..28fd054 100644 --- a/common/clitkDicomRT_Contour.cxx +++ b/common/clitkDicomRT_Contour.cxx @@ -274,7 +274,7 @@ void clitk::DicomRT_Contour::ComputeMeshFromDataPoints() double pointIn[4]; for (unsigned int j=0 ; j<3; ++j) pointIn[j] = mData->GetPoint(idx)[j]; - pointIn[4] = 1.0; + pointIn[3] = 1.0; /*double pointOut[4]; mTransformMatrix->MultiplyPoint(pointIn, pointOut); std::cout << pointOut[0] << " " << pointOut[1] << " " << pointOut[2] << " " << pointOut[3] << std::endl; -- 2.45.1