[ZARCH] fix a bug in max/min functions

This commit is contained in:
maamountki
2019-01-15 21:04:22 +02:00
committed by GitHub
parent 1a7925b3a3
commit b815a04c87
20 changed files with 20 additions and 20 deletions

View File

@@ -176,7 +176,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
j++;
BLASLONG n1 = (n - 1) & -4;
while (j < n1) {
while ((j - 1) < n1) {
if (ABS(x[i]) > maxf) {
maxf = ABS(x[i]);