Skip to content

add explicit warning message when dividing by zero

DataTree::AddDivide should throw an exception when dividing by zero. This exception should be caught in a higher level function and an explicit warning given. e.g., division by zero when parsing the .mod file or e.g. division by zero when converting to static model

To be complete, we can do this for DataTree::AddLog10 and DataTree::AddLog.

See http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=6022