From ec561138d439fa8d3d439db789c6de823ebfdf2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@sciencespo.fr> Date: Wed, 28 Jun 2017 15:06:54 +0200 Subject: [PATCH] Fix various typos (thanks lintian). --- DynamicModel.cc | 2 +- DynareMain.cc | 4 ++-- ModFile.cc | 2 +- StaticModel.cc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DynamicModel.cc b/DynamicModel.cc index 8d3ca37d..e935e1cc 100644 --- a/DynamicModel.cc +++ b/DynamicModel.cc @@ -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"; diff --git a/DynareMain.cc b/DynareMain.cc index 14d594c4..0230d732 100644 --- a/DynareMain.cc +++ b/DynareMain.cc @@ -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(); } } diff --git a/ModFile.cc b/ModFile.cc index 397fee1b..0ad63d2b 100644 --- a/ModFile.cc +++ b/ModFile.cc @@ -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); } } diff --git a/StaticModel.cc b/StaticModel.cc index ecc50640..5c18d124 100644 --- a/StaticModel.cc +++ b/StaticModel.cc @@ -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"; -- GitLab