Skip to content

Commit 808410c

Browse files
authored
Fix wrong comparison that made IMIN identical to IMAX
as suggested in #1990
1 parent 5be61f4 commit 808410c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/arm/imin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
5353

5454
while(i < n)
5555
{
56-
if( x[ix] > minf )
56+
if( x[ix] < minf )
5757
{
5858
min = i;
5959
minf = x[ix];

0 commit comments

Comments
 (0)