mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
fixed accuracy problem in cv::invert() (Cholesky method)
This commit is contained in:
parent
b5b00d9ad4
commit
652d0c2a54
2
3rdparty/lapack/dgemv_custom.c
vendored
2
3rdparty/lapack/dgemv_custom.c
vendored
@ -117,7 +117,7 @@
|
||||
char trans = lapack_toupper(_trans[0]);
|
||||
integer i, j, m = *_m, n = *_n, lda = *_lda, incx = *_incx, incy = *_incy;
|
||||
integer leny = trans == 'N' ? m : n, lenx = trans == 'N' ? n : m;
|
||||
real alpha = *_alpha, beta = *_beta;
|
||||
doublereal alpha = *_alpha, beta = *_beta;
|
||||
|
||||
integer info = 0;
|
||||
if (trans != 'N' && trans != 'T' && trans != 'C')
|
||||
|
Loading…
Reference in New Issue
Block a user