1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

fixed a bug which caused incorrect work of function eigen()

This commit is contained in:
Alexander Reshetnikov
2012-01-25 16:01:59 +00:00
parent 3c645ae20c
commit 951a3d6c7a
2 changed files with 21 additions and 13 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ JacobiImpl_( _Tp* A, size_t astep, _Tp* W, _Tp* V, size_t vstep, int n, uchar* b
}
}
for( iters = 0; iters < maxIters; iters++ )
if( n > 1 ) for( iters = 0; iters < maxIters; iters++ )
{
// find index (k,l) of pivot p
for( k = 0, mv = maxSR[0], i = 1; i < n-1; i++ )