From e247e3ef0bf6d81b34a040f3a4ef7e9c052344c1 Mon Sep 17 00:00:00 2001 From: george Date: Wed, 28 Jan 2009 19:26:40 +0000 Subject: [PATCH] Update: k_ord_dynare.cpp that prints the order when running ReorderDynareJacobianIndice and k_order_perturbation with MAT file printout git-svn-id: https://www.dynare.org/svn/dynare/trunk@2380 ac1d8469-bf42-47a9-8791-bf33cf982152 --- mex/sources/korderpert/src/k_ord_dynare.cpp | 4 ++ .../korderpert/src/k_order_perturbation.cpp | 52 ++++++++++--------- .../korderpert/src/k_order_test_main.cpp | 3 +- 3 files changed, 33 insertions(+), 26 deletions(-) diff --git a/mex/sources/korderpert/src/k_ord_dynare.cpp b/mex/sources/korderpert/src/k_ord_dynare.cpp index 7742fff85..0fd080364 100644 --- a/mex/sources/korderpert/src/k_ord_dynare.cpp +++ b/mex/sources/korderpert/src/k_ord_dynare.cpp @@ -402,6 +402,10 @@ Vector * KordpDynare::LLxSteady( const Vector& yS){ mexPrintf(" Error in LLxSteady - wrong index?"); } +#ifdef DEBUG + for (int j=0;j