ianhinder / Kranc

A Mathematica package for generating code for solving time dependent partial differential equations
http://kranccode.org
GNU General Public License v2.0
28 stars 10 forks source link

Add an option to generate NaN-checking code after every assignment #96

Open ianhinder opened 11 years ago

ianhinder commented 11 years ago

Add an option to a calculation to add code after each assignment that checks if a NaN was generated, and print the responsible line of Mathematica code that caused the problem.