Commit ec561138 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix various typos (thanks lintian).

parent c66e000b
...@@ -510,7 +510,7 @@ DynamicModel::writeModelEquationsOrdered_M(const string &dynamic_basename) const ...@@ -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) ...@@ -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) ...@@ -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) ...@@ -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 ...@@ -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";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment