From d2b3beb3e7cfab8238bf28b4c8011dd6c15ef553 Mon Sep 17 00:00:00 2001 From: ratto Date: Thu, 13 Aug 2009 06:59:36 +0000 Subject: [PATCH] Fixed bugs highlighted by Junior, occurring when some constraint is violated when computing gradients. git-svn-id: https://www.dynare.org/svn/dynare/trunk@2857 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/mr_hessian.m | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/matlab/mr_hessian.m b/matlab/mr_hessian.m index cf0485712..be2496bf0 100644 --- a/matlab/mr_hessian.m +++ b/matlab/mr_hessian.m @@ -165,7 +165,11 @@ while i