Skip to content

Commit 1e0192a

Browse files
committed
riscv64/imin: Fix wrong comparison
Same as #1990.
1 parent fe9aff1 commit 1e0192a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/riscv64/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)