Page 1 of 1

mex mjdgges gives a -Inf + NaN * i eigenvalues, .m different

PostPosted: Sat May 22, 2010 3:32 pm
by cfp
When I solve my model using the mex mjdgges one of the eigenvals comes up as -Inf + NaN * i. However when I force it to use the .m version the eigenval just comes up as Inf + 0 * i.

Since the Matlab version is so incredibly slow it would certainly be nice if I could use the mex one. I presume this is just a numerical accuracy thing though about which not much could be done?

Any suggestions would be much appreciated in any case.

Thanks,

Tom

Re: mex mjdgges gives a -Inf + NaN * i eigenvalues, .m different

PostPosted: Sat May 22, 2010 5:42 pm
by jpfeifer
The issue should have been solved in the current snapshot. However, even in the current version it should not affect the results. See http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=1814

Re: mex mjdgges gives a -Inf + NaN * i eigenvalues, .m different

PostPosted: Sat May 22, 2010 6:19 pm
by cfp
Great thanks.