Skip to content

Commit 25b0c48

Browse files
authored
Update zscal.c
1 parent 5e7f714 commit 25b0c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/mips/zscal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F
4747
else
4848
{
4949
temp = - da_i * x[ip+1] ;
50-
if (isnan(x[ip]) || isinf(x[ip])) temp = x[ip];
50+
if (isnan(x[ip]) || isinf(x[ip])) temp = NAN;
5151
x[ip+1] = da_i * x[ip] ;
5252
}
5353
}

0 commit comments

Comments
 (0)