From 6a34603f91131d82cc4663e4f9ac1c0e47e7033c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Fri, 22 Feb 2019 12:31:58 +0100 Subject: [PATCH] Conform to spelling used in Matlab codes. --- src/DynamicModel.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DynamicModel.cc b/src/DynamicModel.cc index 98c0f257..b8c252e9 100644 --- a/src/DynamicModel.cc +++ b/src/DynamicModel.cc @@ -3698,22 +3698,22 @@ DynamicModel::writeOutput(ostream &output, const string &basename, bool block_de output << "];" << endl; if (!non_optim_vars_params_and_constants.empty()) { - output << modstruct << "pac." << substruct << "non_optimizing_behavior.params = ["; + output << modstruct << "pac." << substruct << "non_optimizing_behaviour.params = ["; for (auto & it : non_optim_vars_params_and_constants) if (get<2>(it) >= 0) output << symbol_table.getTypeSpecificID(get<2>(it)) + 1 << " "; else output << "NaN "; output << "];" << endl - << modstruct << "pac." << substruct << "non_optimizing_behavior.vars = ["; + << modstruct << "pac." << substruct << "non_optimizing_behaviour.vars = ["; for (auto & it : non_optim_vars_params_and_constants) output << symbol_table.getTypeSpecificID(get<0>(it)) + 1 << " "; output << "];" << endl - << modstruct << "pac." << substruct << "non_optimizing_behavior.lags = ["; + << modstruct << "pac." << substruct << "non_optimizing_behaviour.lags = ["; for (auto & it : non_optim_vars_params_and_constants) output << get<1>(it) << " "; output << "];" << endl - << modstruct << "pac." << substruct << "non_optimizing_behavior.scaling_factor = ["; + << modstruct << "pac." << substruct << "non_optimizing_behaviour.scaling_factor = ["; for (auto & it : non_optim_vars_params_and_constants) output << get<3>(it) << " "; output << "];" << endl;