projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe9aff1
)
riscv64/imin: Fix wrong comparison
author
Zhaofeng Li
<hello@zhaofeng.li>
Mon, 7 Jun 2021 22:49:39 +0000
(22:49 +0000)
committer
Zhaofeng Li
<hello@zhaofeng.li>
Mon, 7 Jun 2021 22:49:39 +0000
(22:49 +0000)
Same as #1990.
kernel/riscv64/imin.c
patch
|
blob
|
history
diff --git
a/kernel/riscv64/imin.c
b/kernel/riscv64/imin.c
index
598cba3
..
ffc6522
100644
(file)
--- a/
kernel/riscv64/imin.c
+++ b/
kernel/riscv64/imin.c
@@
-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];