From 40ce9f97d674c8cef871998efd15299312ec1f26 Mon Sep 17 00:00:00 2001 From: Viet Dinh Date: Mon, 2 Nov 2015 00:04:51 -0500 Subject: [PATCH] fix whitespace errors --- modules/core/src/mathfuncs.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/core/src/mathfuncs.cpp b/modules/core/src/mathfuncs.cpp index aa37d1e7c1..3608d97673 100644 --- a/modules/core/src/mathfuncs.cpp +++ b/modules/core/src/mathfuncs.cpp @@ -2517,8 +2517,8 @@ double cv::solvePoly( InputArray _coeffs0, OutputArray _roots0, int maxIters ) num = num*p + coeffs[n-j-1]; if( j != i ) { - if ( (p - roots[j]).re != 0 || (p - roots[j]).im != 0 ) - denom = denom * (p - roots[j]); + if ( (p - roots[j]).re != 0 || (p - roots[j]).im != 0 ) + denom = denom * (p - roots[j]); else num_same_root++; } @@ -2550,14 +2550,14 @@ double cv::solvePoly( InputArray _coeffs0, OutputArray _roots0, int maxIters ) if( old_num_re < 0 ) num.im = -num.im; } } - + roots[i] = p - num; maxDiff = max(maxDiff, abs(num)); } if( maxDiff <= 0 ) break; } - + if( coeffs0.channels() == 1 ) { const double verySmallEps = 1e-100;