Browse Source

remove early exit on negative inc_x

tags/v0.3.27
Martin Kroeker GitHub 1 year ago
parent
commit
e41d01bad9
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/arm64/scnrm2_thunderx2t99.c

+ 1
- 1
kernel/arm64/scnrm2_thunderx2t99.c View File

@@ -315,7 +315,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
FLOAT nrm2 = 0.0;
double nrm2_double = 0.0;

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

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


Loading…
Cancel
Save