- bug correction in error printout (elimination of an unused variable : nb_endo in SparseMatrix)
parent
c7eff4ba60
commit
45137f1367
|
@ -2240,8 +2240,8 @@ SparseMatrix::simulate_NG1(int blck, int y_size, int it_, int y_kmin, int y_kmax
|
||||||
{
|
{
|
||||||
ostringstream res;
|
ostringstream res;
|
||||||
for (unsigned int i = 0; i < endo_name_length; i++)
|
for (unsigned int i = 0; i < endo_name_length; i++)
|
||||||
if (P_endo_names[2*(j+i*nb_endo)] != ' ')
|
if (P_endo_names[2*(j+i*y_size)] != ' ')
|
||||||
res << P_endo_names[2*(j+i*nb_endo)];
|
res << P_endo_names[2*(j+i*y_size)];
|
||||||
bool select = false;
|
bool select = false;
|
||||||
for (int i = 0; i < Size; i++)
|
for (int i = 0; i < Size; i++)
|
||||||
if (j == index_vara[i])
|
if (j == index_vara[i])
|
||||||
|
@ -2265,10 +2265,10 @@ SparseMatrix::simulate_NG1(int blck, int y_size, int it_, int y_kmin, int y_kmax
|
||||||
{
|
{
|
||||||
for (j = 0; j < y_size; j++)
|
for (j = 0; j < y_size; j++)
|
||||||
{
|
{
|
||||||
ostringstream res;
|
ostringstream res("");
|
||||||
for (unsigned int i = 0; i < endo_name_length; i++)
|
for (unsigned int i = 0; i < endo_name_length; i++)
|
||||||
if (P_endo_names[2*(j+i*nb_endo)] != ' ')
|
if (P_endo_names[2*(j+i*y_size)] != ' ')
|
||||||
res << P_endo_names[2*(j+i*nb_endo)];
|
res << P_endo_names[2*(j+i*y_size)];
|
||||||
bool select = false;
|
bool select = false;
|
||||||
for (int i = 0; i < Size; i++)
|
for (int i = 0; i < Size; i++)
|
||||||
if (j == index_vara[i])
|
if (j == index_vara[i])
|
||||||
|
|
|
@ -164,7 +164,7 @@ private:
|
||||||
map<pair<int, int>, NonZeroElem *> Mapped_Array;
|
map<pair<int, int>, NonZeroElem *> Mapped_Array;
|
||||||
int *NbNZRow, *NbNZCol;
|
int *NbNZRow, *NbNZCol;
|
||||||
NonZeroElem **FNZE_R, **FNZE_C;
|
NonZeroElem **FNZE_R, **FNZE_C;
|
||||||
int nb_endo, u_count_init;
|
int u_count_init;
|
||||||
|
|
||||||
int *pivot, *pivotk, *pivot_save;
|
int *pivot, *pivotk, *pivot_save;
|
||||||
double *pivotv, *pivotva;
|
double *pivotv, *pivotva;
|
||||||
|
|
Loading…
Reference in New Issue