[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
|
||||
{
|
||||
max = 0;
|
||||
maxf = CABS1(x,0);
|
||||
ix += 2;
|
||||
i++;
|
||||
|
|
|
@ -283,6 +283,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
|
|||
}
|
||||
else
|
||||
{
|
||||
min = 0;
|
||||
minf = CABS1(x,0);
|
||||
ix += 2;
|
||||
i++;
|
||||
|
|
|
@ -206,6 +206,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
|
|||
}
|
||||
else
|
||||
{
|
||||
max = 0;
|
||||
maxf = ABS(x[0]);
|
||||
i++;
|
||||
}
|
||||
|
|
|
@ -206,6 +206,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
|
|||
}
|
||||
else
|
||||
{
|
||||
min = 0;
|
||||
minf = ABS(x[0]);
|
||||
i++;
|
||||
}
|
||||
|
|
|
@ -182,6 +182,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
|
|||
}
|
||||
else
|
||||
{
|
||||
max = 0;
|
||||
maxf = x[0];
|
||||
i++;
|
||||
}
|
||||
|
|
|
@ -182,6 +182,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
|
|||
}
|
||||
else
|
||||
{
|
||||
min = 0;
|
||||
minf = x[0];
|
||||
i++;
|
||||
}
|
||||
|
|
|
@ -249,6 +249,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
|
|||
}
|
||||
else
|
||||
{
|
||||
max = 0;
|
||||
maxf = ABS(x[0]);
|
||||
i++;
|
||||
}
|
||||
|
|
|
@ -249,6 +249,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
|
|||
}
|
||||
else
|
||||
{
|
||||
min = 0;
|
||||
minf = ABS(x[0]);
|
||||
i++;
|
||||
}
|
||||
|
|
|
@ -225,6 +225,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
|
|||
}
|
||||
else
|
||||
{
|
||||
max = 0;
|
||||
maxf = x[0];
|
||||
i++;
|
||||
}
|
||||
|
|
|
@ -225,6 +225,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
|
|||
}
|
||||
else
|
||||
{
|
||||
min = 0;
|
||||
minf = x[0];
|
||||
i++;
|
||||
}
|
||||
|
|
|
@ -204,6 +204,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
|
|||
}
|
||||
else
|
||||
{
|
||||
max = 0;
|
||||
maxf = CABS1(x,0);
|
||||
ix += 2;
|
||||
i++;
|
||||
|
|
|
@ -204,6 +204,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
|
|||
}
|
||||
else
|
||||
{
|
||||
min = 0;
|
||||
minf = CABS1(x,0);
|
||||
ix += 2;
|
||||
i++;
|
||||
|
|
Loading…
Reference in New Issue