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:
5be61f4
)
Fix wrong comparison that made IMIN identical to IMAX
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Thu, 31 Jan 2019 14:25:15 +0000
(15:25 +0100)
committer
GitHub
<noreply@github.com>
Thu, 31 Jan 2019 14:25:15 +0000
(15:25 +0100)
as suggested in #1990
kernel/arm/imin.c
patch
|
blob
|
history
diff --git
a/kernel/arm/imin.c
b/kernel/arm/imin.c
index
598cba3
..
ffc6522
100644
(file)
--- a/
kernel/arm/imin.c
+++ b/
kernel/arm/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];