Fix various typos (thanks lintian).

issue#70
Sébastien Villemot 2017-06-28 15:06:54 +02:00
parent c66e000b5b
commit ec561138d4
4 changed files with 5 additions and 5 deletions

View File

@ -510,7 +510,7 @@ DynamicModel::writeModelEquationsOrdered_M(const string &dynamic_basename) const
}
else
{
cerr << "Type missmatch for equation " << equation_ID+1 << "\n";
cerr << "Type mismatch for equation " << equation_ID+1 << "\n";
exit(EXIT_FAILURE);
}
output << ";\n";

View File

@ -251,7 +251,7 @@ main(int argc, char **argv)
{
if (strlen(argv[arg]) <= 7 || argv[arg][6] != '=')
{
cerr << "Incorrect syntax for ouput option" << endl;
cerr << "Incorrect syntax for output option" << endl;
usage();
}
if (strlen(argv[arg]) == 14 && !strncmp(argv[arg] + 7, "dynamic", 7))
@ -264,7 +264,7 @@ main(int argc, char **argv)
output_mode = third;
else
{
cerr << "Incorrect syntax for ouput option" << endl;
cerr << "Incorrect syntax for output option" << endl;
usage();
}
}

View File

@ -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)
{
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);
}
}

View File

@ -341,7 +341,7 @@ StaticModel::writeModelEquationsOrdered_M(const string &static_basename) const
}
else
{
cerr << "Type missmatch for equation " << equation_ID+1 << "\n";
cerr << "Type mismatch for equation " << equation_ID+1 << "\n";
exit(EXIT_FAILURE);
}
output << ";\n";