From ba349cc22e112872a85e51b36e0da23798ffdb6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Tue, 15 Jan 2013 11:38:47 +0100 Subject: [PATCH] Improve error message for 3rd derivatives of external functions (cherry picked from commit 67370777705fc0597776ad0af62afa605a4f7635) --- preprocessor/ExprNode.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preprocessor/ExprNode.cc b/preprocessor/ExprNode.cc index b01d1ebc49..19f79bdab3 100644 --- a/preprocessor/ExprNode.cc +++ b/preprocessor/ExprNode.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Dynare Team + * Copyright (C) 2007-2013 Dynare Team * * This file is part of Dynare. * @@ -5173,7 +5173,7 @@ SecondDerivExternalFunctionNode::computeTemporaryTerms(map<expr_t, int> &referen expr_t SecondDerivExternalFunctionNode::computeDerivative(int deriv_id) { - cerr << "ERROR: SecondDerivExternalFunctionNode::computeDerivative(). Not implemented" << endl; + cerr << "ERROR: third order derivatives of external functions are not implemented" << endl; exit(EXIT_FAILURE); } -- GitLab