mirror of
https://github.com/opencv/opencv.git
synced 2024-12-11 14:39:11 +08:00
Merge pull request #23143 from vrabaud:compil5_1
This commit is contained in:
commit
6904207b60
@ -254,7 +254,7 @@ lapack_SVD(fptype* a, size_t a_step, fptype *w, fptype* u, size_t u_step, fptype
|
||||
// Make sure MSAN sees the memory as having been written.
|
||||
// MSAN does not think it has been written because a different language is called.
|
||||
// Note: we do this here because if dgesdd is C++, MSAN errors can be reported within it.
|
||||
CV_ANNOTATE_MEMORY_IS_INITIALIZED(buffer, sizeof(fptype) * (lwork + 1));
|
||||
CV_ANNOTATE_MEMORY_IS_INITIALIZED(buffer.data(), sizeof(fptype) * (lwork + 1));
|
||||
|
||||
if(typeid(fptype) == typeid(float))
|
||||
OCV_LAPACK_FUNC(sgesdd)(mode, &m, &n, (float*)a, &lda, (float*)w, (float*)u, &ldu,
|
||||
|
Loading…
Reference in New Issue
Block a user