Dear all,
as shown by the mod-file in http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=3870 http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=3870, we don't check whether expressions defined with the pound operator are complex or not. This may lead to cryptic error messages.
What do you think about adding such a check to the preprocessor. In this regard, checking for NaN might also be a good idea. While there is an explicit check for division by 0, i.e. "/0" it is still possible to define
#temp=0;
#SIGMABAR=1/temp;
Best,
Johannes