From 828f9d73d576c2cc2869d2545464e7575f216535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Wed, 9 Apr 2014 18:33:24 +0200 Subject: [PATCH] Cosmetic change for clearer code. --- preprocessor/ModFile.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc index 7f31e86ff..27299deac 100644 --- a/preprocessor/ModFile.cc +++ b/preprocessor/ModFile.cc @@ -585,9 +585,6 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool no_log, b << "M_.Correlation_matrix = eye(" << symbol_table.exo_nbr() << ", " << symbol_table.exo_nbr() << ");" << endl; - // Initialize M_.det_shocks - mOutputFile << "M_.det_shocks = [];" << endl; - if (mod_file_struct.calibrated_measurement_errors) mOutputFile << "M_.H = zeros(" << symbol_table.observedVariablesNbr() << ", " << symbol_table.observedVariablesNbr() << ");" << endl @@ -597,6 +594,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool no_log, b mOutputFile << "M_.H = 0;" << endl << "M_.Correlation_matrix_ME = 1;" << endl; + // Initialize M_.det_shocks + mOutputFile << "M_.det_shocks = [];" << endl; + if (linear == 1) mOutputFile << "options_.linear = 1;" << endl;