Fix various typos (thanks lintian).
parent
801154dbee
commit
1ff5c3f571
|
@ -159,9 +159,9 @@ KOrder::KOrder(int num_stat, int num_pred, int num_both, int num_forw,
|
||||||
KORD_RAISE_IF(gy.nrows() != ypart.ny(),
|
KORD_RAISE_IF(gy.nrows() != ypart.ny(),
|
||||||
"Wrong number of rows in gy in KOrder constructor");
|
"Wrong number of rows in gy in KOrder constructor");
|
||||||
KORD_RAISE_IF(gu.nrows() != ypart.ny(),
|
KORD_RAISE_IF(gu.nrows() != ypart.ny(),
|
||||||
"Wrong number of rows in gu in KOrder constuctor");
|
"Wrong number of rows in gu in KOrder constructor");
|
||||||
KORD_RAISE_IF(gu.ncols() != nu,
|
KORD_RAISE_IF(gu.ncols() != nu,
|
||||||
"Wrong number of columns in gu in KOrder constuctor");
|
"Wrong number of columns in gu in KOrder constructor");
|
||||||
|
|
||||||
// set nvs:
|
// set nvs:
|
||||||
nvs[0] = ypart.nys(); nvs[1] = nu; nvs[2] = nu; nvs[3] = 1;
|
nvs[0] = ypart.nys(); nvs[1] = nu; nvs[2] = nu; nvs[3] = 1;
|
||||||
|
|
|
@ -64,7 +64,7 @@ public:@;
|
||||||
@<|IntegDerivs| constructor code@>;
|
@<|IntegDerivs| constructor code@>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ This constuctor integrates a rule (namely its $g^{**}$ part) with
|
@ This constructor integrates a rule (namely its $g^{**}$ part) with
|
||||||
respect to $u=\tilde\sigma\eta$, and stores to the object the
|
respect to $u=\tilde\sigma\eta$, and stores to the object the
|
||||||
derivatives of this integral $h$ at $(y^*,u,\sigma)=(\tilde
|
derivatives of this integral $h$ at $(y^*,u,\sigma)=(\tilde
|
||||||
y^*,0,\tilde\sigma)$. The original container of $g^{**}$, the moments of
|
y^*,0,\tilde\sigma)$. The original container of $g^{**}$, the moments of
|
||||||
|
|
|
@ -6708,7 +6708,7 @@ dynSparseMatrix::Simulate_Newton_Two_Boundaries(int blck, int y_size, int y_kmin
|
||||||
{
|
{
|
||||||
if (restart > 2)
|
if (restart > 2)
|
||||||
{
|
{
|
||||||
mexPrintf("Divergence or slowdown occured during simulation.\nIn the next iteration, pivoting method will be applied to all periods.\n");
|
mexPrintf("Divergence or slowdown occurred during simulation.\nIn the next iteration, pivoting method will be applied to all periods.\n");
|
||||||
symbolic = false;
|
symbolic = false;
|
||||||
alt_symbolic = true;
|
alt_symbolic = true;
|
||||||
markowitz_c_s = markowitz_c;
|
markowitz_c_s = markowitz_c;
|
||||||
|
@ -6716,7 +6716,7 @@ dynSparseMatrix::Simulate_Newton_Two_Boundaries(int blck, int y_size, int y_kmin
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mexPrintf("Divergence or slowdown occured during simulation.\nIn the next iteration, pivoting method will be applied for a longer period.\n");
|
mexPrintf("Divergence or slowdown occurred during simulation.\nIn the next iteration, pivoting method will be applied for a longer period.\n");
|
||||||
start_compare = min(tbreak_g, periods);
|
start_compare = min(tbreak_g, periods);
|
||||||
restart++;
|
restart++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -773,7 +773,7 @@ main(int nrhs, const char *prhs[])
|
||||||
for (vector<s_plan>::iterator it = splan.begin(); it != splan.end(); it++)
|
for (vector<s_plan>::iterator it = splan.begin(); it != splan.end(); it++)
|
||||||
{
|
{
|
||||||
mexPrintf("----------------------------------------------------------------------------------------------------\n");
|
mexPrintf("----------------------------------------------------------------------------------------------------\n");
|
||||||
mexPrintf("suprise #%d\n", i+1);
|
mexPrintf("surprise #%d\n", i+1);
|
||||||
if (it->exo.length())
|
if (it->exo.length())
|
||||||
mexPrintf(" plan fliping var=%s (%d) exo=%s (%d) for the following periods and with the following values:\n", it->var.c_str(), it->var_num, it->exo.c_str(), it->exo_num);
|
mexPrintf(" plan fliping var=%s (%d) exo=%s (%d) for the following periods and with the following values:\n", it->var.c_str(), it->var_num, it->exo.c_str(), it->exo_num);
|
||||||
else
|
else
|
||||||
|
|
|
@ -510,7 +510,7 @@ DynamicModel::writeModelEquationsOrdered_M(const string &dynamic_basename) const
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cerr << "Type missmatch for equation " << equation_ID+1 << "\n";
|
cerr << "Type mismatch for equation " << equation_ID+1 << "\n";
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
output << ";\n";
|
output << ";\n";
|
||||||
|
|
|
@ -251,7 +251,7 @@ main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
if (strlen(argv[arg]) <= 7 || argv[arg][6] != '=')
|
if (strlen(argv[arg]) <= 7 || argv[arg][6] != '=')
|
||||||
{
|
{
|
||||||
cerr << "Incorrect syntax for ouput option" << endl;
|
cerr << "Incorrect syntax for output option" << endl;
|
||||||
usage();
|
usage();
|
||||||
}
|
}
|
||||||
if (strlen(argv[arg]) == 14 && !strncmp(argv[arg] + 7, "dynamic", 7))
|
if (strlen(argv[arg]) == 14 && !strncmp(argv[arg] + 7, "dynamic", 7))
|
||||||
|
@ -264,7 +264,7 @@ main(int argc, char **argv)
|
||||||
output_mode = third;
|
output_mode = third;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cerr << "Incorrect syntax for ouput option" << endl;
|
cerr << "Incorrect syntax for output option" << endl;
|
||||||
usage();
|
usage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -232,7 +232,7 @@ ModFile::checkPass(bool nostrict)
|
||||||
|
|
||||||
if (mod_file_struct.dsge_prior_weight_initialized && mod_file_struct.dsge_prior_weight_in_estimated_params)
|
if (mod_file_struct.dsge_prior_weight_initialized && mod_file_struct.dsge_prior_weight_in_estimated_params)
|
||||||
{
|
{
|
||||||
cerr << "ERROR: dsge_prior_weight cannot be both initalized and estimated." << endl;
|
cerr << "ERROR: dsge_prior_weight cannot be both initialized and estimated." << endl;
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -341,7 +341,7 @@ StaticModel::writeModelEquationsOrdered_M(const string &static_basename) const
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cerr << "Type missmatch for equation " << equation_ID+1 << "\n";
|
cerr << "Type mismatch for equation " << equation_ID+1 << "\n";
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
output << ";\n";
|
output << ";\n";
|
||||||
|
|
Loading…
Reference in New Issue