use lower threshold for complex matrices

This commit is contained in:
conrad
2022-03-08 13:22:32 +10:00
parent 5361549862
commit 2c6eb04ca7
+2 -2
View File
@@ -4864,7 +4864,7 @@ auxlib::solve_rect_fast(Mat<typename T1::elem_type>& out, Mat<typename T1::elem_
blas_int lwork_proposed = 0;
if(A.n_elem >= 1024)
if(A.n_elem >= ((is_cx<eT>::yes) ? uword(256) : uword(1024)))
{
eT work_query[2] = {};
blas_int lwork_query = -1;
@@ -4962,7 +4962,7 @@ auxlib::solve_rect_rcond(Mat<typename T1::elem_type>& out, typename T1::pod_type
blas_int lwork_proposed = 0;
if(A.n_elem >= 1024)
if(A.n_elem >= ((is_cx<eT>::yes) ? uword(256) : uword(1024)))
{
eT work_query[2] = {};
blas_int lwork_query = -1;