Skip to content

Commit 711433f

Browse files
authored
Update zscal.c
1 parent d3d99c3 commit 711433f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/mips/zscal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F
6363
x[ip+1] = da_r * x[ip+1] + da_i * x[ip] ;
6464
}
6565
}
66-
if (!isnan(x_ip] && !isinf(x[ip]))
66+
// if (!isnan(x_ip] && !isinf(x[ip]))
6767
x[ip] = temp;
68-
68+
if ( da_r != da_r ) x[ip] = da_r;
6969
ip += inc_x2;
7070
}
7171

0 commit comments

Comments
 (0)