From 86ac7d5bbcb53ba8d5e0acdbc7888269d7c69120 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 22 Jul 2020 16:08:16 +0200
Subject: [PATCH] PAC/MCE: improve informative message about # of aux. vars/eqs
 by adding the model name

This makes the output more useful when there are multiple PAC models.
---
 src/DynamicModel.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/DynamicModel.cc b/src/DynamicModel.cc
index cd3dc846..f6b44e9d 100644
--- a/src/DynamicModel.cc
+++ b/src/DynamicModel.cc
@@ -4154,7 +4154,7 @@ DynamicModel::addPacModelConsistentExpectationEquation(const string &name, int d
       neqs++;
       pac_expectation_substitution[{name, eqtag}] = AddVariable(mce_z1_symb_id);
     }
-  cout << "Pac Model Consistent Expectation: added " << neqs << " auxiliary variables and equations." << endl;
+  cout << "Pac Model Consistent Expectation: added " << neqs << " auxiliary variables and equations for model " << name << "." << endl;
 }
 
 void
-- 
GitLab