From 9d8118dee50ee2d0c8c86504c947f4c001a676f8 Mon Sep 17 00:00:00 2001 From: songyuncen Date: Tue, 8 Dec 2015 23:18:53 +0800 Subject: [PATCH] build failed, trailing whitespace. --- modules/imgproc/src/shapedescr.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/imgproc/src/shapedescr.cpp b/modules/imgproc/src/shapedescr.cpp index 6371b19ca1..294f4fa492 100644 --- a/modules/imgproc/src/shapedescr.cpp +++ b/modules/imgproc/src/shapedescr.cpp @@ -43,8 +43,7 @@ namespace cv { - -// inner product +// inner product static float innerProduct(Point2f &v1, Point2f &v2) { return v1.x * v2.y - v1.y * v2.x; @@ -58,7 +57,7 @@ static void findCircle3pts(Point2f *pts, Point2f ¢er, float &radius) if (innerProduct(v1, v2) == 0.0f) { - // v1, v2 colineation, can not determine a unique circle + // v1, v2 colineation, can not determine a unique circle // find the longtest distance as diameter line float d1 = (float)norm(pts[0] - pts[1]); float d2 = (float)norm(pts[0] - pts[2]);