Skip to content
Snippets Groups Projects
Commit bbcdafb3 authored by sebastien's avatar sebastien
Browse files

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
parent 01db13d7
No related branches found
Tags
No related merge requests found
...@@ -128,7 +128,7 @@ AbstractShocksStatement::writeCovarAndCorrShocks(ostream &output) const ...@@ -128,7 +128,7 @@ AbstractShocksStatement::writeCovarAndCorrShocks(ostream &output) const
output << "M_.Sigma_e(" << id1 << ", " << id2 << ") = "; output << "M_.Sigma_e(" << id1 << ", " << id2 << ") = ";
value->writeOutput(output); value->writeOutput(output);
output << "*sqrt(M_.Sigma_e(" << id1 << ", " << id1 << ")*M_.Sigma_e(" 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"; << id1 << ") = M_.Sigma_e(" << id1 << ", " << id2 << ");\n";
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment