[ZARCH] Fix bug in iamax/iamin/imax/imin

This commit is contained in:
maamountki 2019-01-28 17:16:18 +02:00 committed by GitHub
parent b111829226
commit c8ef9fb220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 0 deletions

View File

@ -283,6 +283,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
} }
else else
{ {
max = 0;
maxf = CABS1(x,0); maxf = CABS1(x,0);
ix += 2; ix += 2;
i++; i++;

View File

@ -283,6 +283,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
} }
else else
{ {
min = 0;
minf = CABS1(x,0); minf = CABS1(x,0);
ix += 2; ix += 2;
i++; i++;

View File

@ -206,6 +206,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
} }
else else
{ {
max = 0;
maxf = ABS(x[0]); maxf = ABS(x[0]);
i++; i++;
} }

View File

@ -206,6 +206,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
} }
else else
{ {
min = 0;
minf = ABS(x[0]); minf = ABS(x[0]);
i++; i++;
} }

View File

@ -182,6 +182,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
} }
else else
{ {
max = 0;
maxf = x[0]; maxf = x[0];
i++; i++;
} }

View File

@ -182,6 +182,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
} }
else else
{ {
min = 0;
minf = x[0]; minf = x[0];
i++; i++;
} }

View File

@ -249,6 +249,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
} }
else else
{ {
max = 0;
maxf = ABS(x[0]); maxf = ABS(x[0]);
i++; i++;
} }

View File

@ -249,6 +249,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
} }
else else
{ {
min = 0;
minf = ABS(x[0]); minf = ABS(x[0]);
i++; i++;
} }

View File

@ -225,6 +225,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
} }
else else
{ {
max = 0;
maxf = x[0]; maxf = x[0];
i++; i++;
} }

View File

@ -225,6 +225,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
} }
else else
{ {
min = 0;
minf = x[0]; minf = x[0];
i++; i++;
} }

View File

@ -204,6 +204,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
} }
else else
{ {
max = 0;
maxf = CABS1(x,0); maxf = CABS1(x,0);
ix += 2; ix += 2;
i++; i++;

View File

@ -204,6 +204,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
} }
else else
{ {
min = 0;
minf = CABS1(x,0); minf = CABS1(x,0);
ix += 2; ix += 2;
i++; i++;