compare against DBLMIN rather than a somewhat arbitrary small number near it
This commit is contained in:
parent
6052fd97a4
commit
5de271aa69
|
@ -106,7 +106,7 @@ blasint CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa,
|
||||||
temp2 = *(b + jp * 2 + 1);
|
temp2 = *(b + jp * 2 + 1);
|
||||||
|
|
||||||
// if ((temp1 != ZERO) || (temp2 != ZERO)) {
|
// if ((temp1 != ZERO) || (temp2 != ZERO)) {
|
||||||
if ((fabs(temp1) > 1.e-305) || (fabs(temp2) > 1.e-305)) {
|
if ((fabs(temp1) >= DBL_MIN) && (fabs(temp2) >= DBL_MIN)) {
|
||||||
|
|
||||||
if (jp != j) {
|
if (jp != j) {
|
||||||
SWAP_K(j + 1, 0, 0, ZERO, ZERO, a + j * 2, lda,
|
SWAP_K(j + 1, 0, 0, ZERO, ZERO, a + j * 2, lda,
|
||||||
|
|
Loading…
Reference in New Issue