You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Mathematica detects a problem, for example bad input to a function, it generates a message and returns the input unevaluated. This usually leads to a cascade of errors and is unhelpful in a system such as Kranc. Instead, Kranc should cause these messages to become fatal errors which cause Kranc to abort. This is possible using AddHandler (http://mathematica.stackexchange.com/questions/1512/how-to-abort-on-any-message-generated/9242#9242) and is used in SimulationTools and the Kranc test system already.
One problem with aborting on all messages is that new versions of Mathematica sometimes deprecate functions and output a message when they are used. We should not abort on these messages.
The text was updated successfully, but these errors were encountered:
When Mathematica detects a problem, for example bad input to a function, it generates a message and returns the input unevaluated. This usually leads to a cascade of errors and is unhelpful in a system such as Kranc. Instead, Kranc should cause these messages to become fatal errors which cause Kranc to abort. This is possible using AddHandler (http://mathematica.stackexchange.com/questions/1512/how-to-abort-on-any-message-generated/9242#9242) and is used in SimulationTools and the Kranc test system already.
One problem with aborting on all messages is that new versions of Mathematica sometimes deprecate functions and output a message when they are used. We should not abort on these messages.
The text was updated successfully, but these errors were encountered: