riscv64/imin: Fix wrong comparison

Same as #1990.
This commit is contained in:
Zhaofeng Li 2021-06-07 22:49:39 +00:00
parent fe9aff17fe
commit 1e0192a5cc
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,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];