From bbcdafb3b89d12cdfec74fa139b458079c00dd7d Mon Sep 17 00:00:00 2001
From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Mon, 27 Oct 2008 11:12:23 +0000
Subject: [PATCH] 4.0: merged r2130 changeset (bugfix with "corr" statement of
 "shocks" block)

git-svn-id: https://www.dynare.org/svn/dynare/branches/4.0@2203 ac1d8469-bf42-47a9-8791-bf33cf982152
---
 preprocessor/Shocks.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/preprocessor/Shocks.cc b/preprocessor/Shocks.cc
index eba24deed0..3961ccad6e 100644
--- a/preprocessor/Shocks.cc
+++ b/preprocessor/Shocks.cc
@@ -128,7 +128,7 @@ AbstractShocksStatement::writeCovarAndCorrShocks(ostream &output) const
       output << "M_.Sigma_e(" << id1 << ", " << id2 << ") = ";
       value->writeOutput(output);
       output << "*sqrt(M_.Sigma_e(" << id1 << ", " << id1 << ")*M_.Sigma_e("
-             << id2 << ", " << id2 << "); M_.Sigma_e(" << id2 << ", "
+             << id2 << ", " << id2 << ")); M_.Sigma_e(" << id2 << ", "
              << id1 << ") = M_.Sigma_e(" << id1 << ", " << id2 << ");\n";
     }
 }
-- 
GitLab