Skip to content

Commit

Permalink
remove early exit on negative inc_x
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Mar 11, 2024
1 parent 4fd8bc1 commit 02a025f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/arm64/dznrm2_thunderx2t99.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
#endif
FLOAT ssq, scale;

if (n <= 0 || inc_x <= 0) return 0.0;
if (n <= 0 || inc_x == 0) return 0.0;

#if defined(SMP)
if (n <= 10000)
Expand Down

0 comments on commit 02a025f

Please sign in to comment.