Fix wrong comparison that made IMIN identical to IMAX
as reported by aarnez in #1990
This commit is contained in:
parent
808410c2c7
commit
86a824c97f
|
@ -45,7 +45,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
|
||||||
|
|
||||||
while(i < n)
|
while(i < n)
|
||||||
{
|
{
|
||||||
if( x[ix] > minf )
|
if( x[ix] < minf )
|
||||||
{
|
{
|
||||||
min = i;
|
min = i;
|
||||||
minf = x[ix];
|
minf = x[ix];
|
||||||
|
|
Loading…
Reference in New Issue