Skip to content

Commit 02a025f

Browse files
authored
remove early exit on negative inc_x
1 parent 4fd8bc1 commit 02a025f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/arm64/dznrm2_thunderx2t99.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
345345
#endif
346346
FLOAT ssq, scale;
347347

348-
if (n <= 0 || inc_x <= 0) return 0.0;
348+
if (n <= 0 || inc_x == 0) return 0.0;
349349

350350
#if defined(SMP)
351351
if (n <= 10000)

0 commit comments

Comments
 (0)