Browse Source
Fix wrong comparison that made IMIN identical to IMAX
as reported by aarnez in #1990
tags/v0.3.6^2
Martin Kroeker
GitHub
7 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
kernel/mips/imin.c
|
|
|
@@ -45,7 +45,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) |
|
|
|
|
|
|
|
while(i < n) |
|
|
|
{ |
|
|
|
if( x[ix] > minf ) |
|
|
|
if( x[ix] < minf ) |
|
|
|
{ |
|
|
|
min = i; |
|
|
|
minf = x[ix]; |
|
|
|
|