Skip to content

Commit

Permalink
Update zscal.c
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Jul 31, 2024
1 parent 2295a7b commit 9407fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/zarch/zscal.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r, FLOAT da_i,
x[i + 1] = da_i * x[i];
else
x[i + 1] = NAN;
if (isfinite(x[i]))
if (x[i]==x[i])
x[i] = temp0;
i += 2;
j++;
Expand Down

0 comments on commit 9407fd7

Please sign in to comment.