diff --git a/dynare++/kord/korder.cweb b/dynare++/kord/korder.cweb index ce568414363861d95de465d41b66b9e5e894f2cc..a73360e386ba7d377ba35435fbfc78bbcce26553 100644 --- a/dynare++/kord/korder.cweb +++ b/dynare++/kord/korder.cweb @@ -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(), "Wrong number of rows in gy in KOrder constructor"); 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, - "Wrong number of columns in gu in KOrder constuctor"); + "Wrong number of columns in gu in KOrder constructor"); // set nvs: nvs[0] = ypart.nys(); nvs[1] = nu; nvs[2] = nu; nvs[3] = 1; diff --git a/dynare++/kord/korder_stoch.hweb b/dynare++/kord/korder_stoch.hweb index 83d7cd6f4d2d8e387b8ff2fe2d1d631dcf421acd..0587c9a3a2b0b94b125cfcdb13a71b5323da4f52 100644 --- a/dynare++/kord/korder_stoch.hweb +++ b/dynare++/kord/korder_stoch.hweb @@ -64,7 +64,7 @@ public:@; @<|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 derivatives of this integral $h$ at $(y^*,u,\sigma)=(\tilde y^*,0,\tilde\sigma)$. The original container of $g^{**}$, the moments of diff --git a/mex/sources/bytecode/SparseMatrix.cc b/mex/sources/bytecode/SparseMatrix.cc index 7db7341cbac531666a356e256a1a1eb8ca0f6ce9..1ef1239a63cd824214494972ec7edb5bce88c77d 100644 --- a/mex/sources/bytecode/SparseMatrix.cc +++ b/mex/sources/bytecode/SparseMatrix.cc @@ -6708,7 +6708,7 @@ dynSparseMatrix::Simulate_Newton_Two_Boundaries(int blck, int y_size, int y_kmin { 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; alt_symbolic = true; markowitz_c_s = markowitz_c; @@ -6716,7 +6716,7 @@ dynSparseMatrix::Simulate_Newton_Two_Boundaries(int blck, int y_size, int y_kmin } 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); restart++; } diff --git a/mex/sources/bytecode/bytecode.cc b/mex/sources/bytecode/bytecode.cc index 80ba1b4509344876c93df587e0257029d5a89b6a..2bac3e3f27f5b4bc64e243de0efc8f46421484ac 100644 --- a/mex/sources/bytecode/bytecode.cc +++ b/mex/sources/bytecode/bytecode.cc @@ -773,7 +773,7 @@ main(int nrhs, const char *prhs[]) for (vector<s_plan>::iterator it = splan.begin(); it != splan.end(); it++) { mexPrintf("----------------------------------------------------------------------------------------------------\n"); - mexPrintf("suprise #%d\n", i+1); + mexPrintf("surprise #%d\n", i+1); 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); else diff --git a/preprocessor/DynamicModel.cc b/preprocessor/DynamicModel.cc index 6ade565173a1b5d910c614dbe3e136563dbb0f4f..2f1147cbbbd2cb1c9d1a7e92287fd21d63ee7d63 100644 --- a/preprocessor/DynamicModel.cc +++ b/preprocessor/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/preprocessor/DynareMain.cc b/preprocessor/DynareMain.cc index 887cf28188637c58ad8f17eb20a3b94c944b71e1..104a0783a015b9cffdb9c66719bdac48a8e60088 100644 --- a/preprocessor/DynareMain.cc +++ b/preprocessor/DynareMain.cc @@ -245,7 +245,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)) @@ -258,7 +258,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/preprocessor/ModFile.cc b/preprocessor/ModFile.cc index b5d37cfe6fca1e3c3ad4e8ab6a3249957b96fec7..8d6150a26278ee8793a87083b865905457f7900b 100644 --- a/preprocessor/ModFile.cc +++ b/preprocessor/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/preprocessor/StaticModel.cc b/preprocessor/StaticModel.cc index 1038ac5324ea78680faf314d00fd27cea17cc53f..6ee91f88b2aec5afb3d34b390b0fbaeeb20d643b 100644 --- a/preprocessor/StaticModel.cc +++ b/preprocessor/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";