Estimating nonzero covariances for exogenous shocks

...Produces an error message. I had this problem, figured out how to get around it, and thought others might find useful. Attached.
Forums for asking questions, posting comments and uploading examples related to Dynare
http://www.dynare.org/phpBB3/
estimated_params;
stderr ez, inv_gamma_pdf, 0.01, inf;
stderr eg, inv_gamma_pdf, 0.01, inf;
corr ez, eg, normal_pdf, 0, 0.1;
end;