From 049c3a80f9d071c31ecce8f1cad038423f70af01 Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Wed, 10 Dec 2014 12:37:18 +0100 Subject: [PATCH] dmm: modify error message in setState*.m --- preprocessor/DynamicModel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preprocessor/DynamicModel.cc b/preprocessor/DynamicModel.cc index 90f1323494..4cc505f286 100644 --- a/preprocessor/DynamicModel.cc +++ b/preprocessor/DynamicModel.cc @@ -1745,7 +1745,7 @@ DynamicModel::writeSetState(const string &mat) const } mOutputFile << " otherwise" << endl - << " error('" << fname << ": should not arrive here');" << endl + << " error(['" << fname << ": should not arrive here. State passed was ' state]);" << endl << "end" << endl << "end" << endl; mOutputFile.close(); -- GitLab