introduce warning for NaN first order matrices

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

introduce warning for NaN first order matrices

Postby lombard » Thu Sep 25, 2008 10:35 am

Hi,

this is just a suggestion for future releases.

I spent a couple of hours trying to understand why dynare would freeze with a model that used to solve fine with pre-releases of Dynare 4.

It turned out that having assigned a wrong parameter values was generating NaN values in the jacobian of the model. This was nevertheless passed on to the mex file (mjdgges I guess)... with no return.

Maybe you could enter a "ifnan" and a warning before starting the solution.

Cheers

Gianni
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests