projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9753a5
)
fixed small matrix inversion using Cholesky algorithm (ticket #536)
author
Vadim Pisarevsky
<no@email>
Thu, 21 Oct 2010 12:07:49 +0000
(12:07 +0000)
committer
Vadim Pisarevsky
<no@email>
Thu, 21 Oct 2010 12:07:49 +0000
(12:07 +0000)
modules/core/src/lapack.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/lapack.cpp
b/modules/core/src/lapack.cpp
index
7a95fb4
..
8871e0a
100644
(file)
--- a/
modules/core/src/lapack.cpp
+++ b/
modules/core/src/lapack.cpp
@@
-488,7
+488,7
@@
double invert( const Mat& src, Mat& dst, int method )
result = LU((float*)src1.data, n, (float*)dst1.data, n);
else if( method == DECOMP_LU && type == CV_64F )
result = LU((double*)src1.data, n, (double*)dst1.data, n);
- else if( method == DECOMP_
LU
&& type == CV_32F )
+ else if( method == DECOMP_
CHOLESKY
&& type == CV_32F )
result = Cholesky((float*)src1.data, n, (float*)dst1.data, n);
else
result = Cholesky((double*)src1.data, n, (double*)dst1.data, n);