diff --git a/preprocessor/Shocks.cc b/preprocessor/Shocks.cc
index eba24deed06f9ce7748fc9aac8e7d03fa89e8447..3961ccad6ec23340fdcfa16dbaa43028f7277b2d 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";
     }
 }