From 3d21bb422e272ab0ee675a05913a8099c04e039c Mon Sep 17 00:00:00 2001
From: michel <michel@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Thu, 2 Oct 2008 08:05:11 +0000
Subject: [PATCH] Fix parentheses error in corr expression in shocks block

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

diff --git a/Shocks.cc b/Shocks.cc
index eba24dee..3961ccad 100644
--- a/Shocks.cc
+++ b/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