Browse Source

handle incx < 0

tags/v0.3.27
Martin Kroeker GitHub 1 year ago
parent
commit
db70c7f7fb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kernel/riscv64/znrm2_rvv.c

+ 1
- 1
kernel/riscv64/znrm2_rvv.c View File

@@ -69,7 +69,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
{
BLASLONG i=0, j=0;

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

FLOAT_V_T vr, v0, v_zero;
unsigned int gvl = 0;


Loading…
Cancel
Save