We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dee8557 commit db70c7fCopy full SHA for db70c7f
1 file changed
kernel/riscv64/znrm2_rvv.c
@@ -69,7 +69,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
69
{
70
BLASLONG i=0, j=0;
71
72
- if (n <= 0 || inc_x <= 0) return(0.0);
+ if (n <= 0 || inc_x == 0) return(0.0);
73
74
FLOAT_V_T vr, v0, v_zero;
75
unsigned int gvl = 0;
0 commit comments