diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.cc b/mex/sources/k_order_perturbation/k_ord_dynare.cc
index 17dcf3254e61137a42bbcce862eb92baf0279a14..5f7572a94ff179e6fedba379ea14fb0fe965fd3d 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 8465f8c47ce548b10f6d714c44233466e19f7fe7..62fcc7c0fbe970b34f100c65da7e5ed2e3c6215b 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