From 5d38280f27ea5c1e64d8e41b7272c259ffc61d2e Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Sat, 16 Jul 2016 00:13:47 +0200 Subject: [PATCH] remove one instance of dynamic exception specification closes issue #1250 --- mex/sources/k_order_perturbation/k_ord_dynare.cc | 3 ++- mex/sources/k_order_perturbation/k_ord_dynare.hh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.cc b/mex/sources/k_order_perturbation/k_ord_dynare.cc index 17dcf3254..5f7572a94 100644 --- a/mex/sources/k_order_perturbation/k_ord_dynare.cc +++ b/mex/sources/k_order_perturbation/k_ord_dynare.cc @@ -110,7 +110,7 @@ KordpDynare::evaluateSystem(Vector &out, const Vector &yym, const Vector &yy, * which performs actual calculation and reorders ***************************************************/ void -KordpDynare::calcDerivativesAtSteady() throw (DynareException) +KordpDynare::calcDerivativesAtSteady() { if (g1p == NULL) { @@ -139,6 +139,7 @@ KordpDynare::calcDerivativesAtSteady() throw (DynareException) LLxSteady(ySteady, llxSteady); dynamicModelFile->eval(llxSteady, xx, params, ySteady, out, g1p, g2p, g3p); + } populateDerivativesContainer(*g1p, 1, JacobianIndices); diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.hh b/mex/sources/k_order_perturbation/k_ord_dynare.hh index 8465f8c47..62fcc7c0f 100644 --- a/mex/sources/k_order_perturbation/k_ord_dynare.hh +++ b/mex/sources/k_order_perturbation/k_ord_dynare.hh @@ -232,7 +232,7 @@ public: void evaluateSystem(Vector &out, const Vector &yy, const Vector &xx) throw (DynareException); void evaluateSystem(Vector &out, const Vector &yym, const Vector &yy, const Vector &yyp, const Vector &xx) throw (DynareException); - void calcDerivativesAtSteady() throw (DynareException); + void calcDerivativesAtSteady(); DynamicModelAC *dynamicModelFile; DynamicModel * clone() const