Browse Source

fix loop condition for incx < 0

tags/v0.3.27
Martin Kroeker GitHub 1 year ago
parent
commit
f747aedb52
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/mips/znrm2.c

+ 1
- 1
kernel/mips/znrm2.c View File

@@ -53,7 +53,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
inc_x2 = 2 * inc_x;

n *= inc_x2;
while(i < n)
while(abs(i) < abs(n))
{

if ( x[i] != 0.0 )


Loading…
Cancel
Save