From c9ffa9fa6a752da3f88b34caee6e351d12567da1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr>
Date: Mon, 7 Feb 2011 11:51:13 +0100
Subject: [PATCH] Preprocessor: fix error message for
 conditional_forecast_paths (cherry picked from commit
 ca52f1a323df69fc3f9263b8be2d1d2d20835b7a)

---
 preprocessor/ParsingDriver.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/preprocessor/ParsingDriver.cc b/preprocessor/ParsingDriver.cc
index 8f122655de..214cbf84b5 100644
--- a/preprocessor/ParsingDriver.cc
+++ b/preprocessor/ParsingDriver.cc
@@ -545,7 +545,7 @@ ParsingDriver::add_det_shock(string *var, bool conditional_forecast)
   if (conditional_forecast)
     {
       if (type != eEndogenous)
-        error("conditional_forecast_paths: shocks can only be applied to exogenous variables");
+        error("conditional_forecast_paths: shocks can only be applied to endogenous variables");
     }
   else
     {
-- 
GitLab