Fix wrong comparison that made IMIN identical to IMAX

as reported by aarnez in #1990
This commit is contained in:
Martin Kroeker 2019-01-31 15:27:21 +01:00 committed by GitHub
parent 808410c2c7
commit 86a824c97f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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];