[ZARCH] Fix bug in iamax/iamin/imax/imin
This commit is contained in:
parent
b111829226
commit
c8ef9fb220
|
@ -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++;
|
||||||
|
|
|
@ -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++;
|
||||||
|
|
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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++;
|
||||||
|
|
|
@ -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++;
|
||||||
|
|
Loading…
Reference in New Issue