mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-04-27 14:40:20 +00:00
Even more CI simplification. Fixing a warning caused by callig OpenBLAS with a string literal.
This commit is contained in:
@@ -1115,7 +1115,8 @@ float CLNF::NU_RLMS(cv::Vec6f& final_global, cv::Mat_<float>& final_local, const
|
||||
// Perform matrix multiplication in OpenBLAS (fortran call)
|
||||
float alpha1 = 1.0;
|
||||
float beta1 = 1.0;
|
||||
sgemm_("N", "N", &J.cols, &J_w_t.rows, &J_w_t.cols, &alpha1, (float*)J.data, &J.cols, (float*)J_w_t.data, &J_w_t.cols, &beta1, (float*)Hessian.data, &J.cols);
|
||||
char *not = "N";
|
||||
sgemm_(not, not, &J.cols, &J_w_t.rows, &J_w_t.cols, &alpha1, (float*)J.data, &J.cols, (float*)J_w_t.data, &J_w_t.cols, &beta1, (float*)Hessian.data, &J.cols);
|
||||
|
||||
// Above is a fast (but ugly) version of
|
||||
// cv::Mat_<float> Hessian = J_w_t * J + regTerm;
|
||||
|
||||
Reference in New Issue
Block a user