From 57829d81ea2c3c1b8e7a7f63b26603a96183754b Mon Sep 17 00:00:00 2001 From: Viet Dinh Date: Thu, 5 Nov 2015 23:31:30 -0500 Subject: [PATCH] mac compile error --- modules/core/src/mathfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/mathfuncs.cpp b/modules/core/src/mathfuncs.cpp index 3b84e9d92..4b5327116 100644 --- a/modules/core/src/mathfuncs.cpp +++ b/modules/core/src/mathfuncs.cpp @@ -2436,7 +2436,7 @@ int cv::solveCubic( InputArray _coeffs, OutputArray _roots ) x2 = t0 * cos(t1 + (4.*CV_PI/3)) - t2; n = 3; } - else if( d == 0) + else if( d == 0 ) { if(R >= 0) {