clarify error message

issue#70
Houtan Bastani 2018-05-31 19:23:07 +02:00
parent 9166cda225
commit a648dc9e50
1 changed files with 2 additions and 1 deletions

View File

@ -3147,7 +3147,8 @@ UnaryOpNode::substituteDiff(DataTree &static_datatree, diff_table_t &diff_table,
else
{
// We know that the supported unary ops have already been substituted
cerr << "you can only use the `diff` operator on variables and certain unary ops" << endl;
cerr << "ERROR: You can only use the `diff` operator on variables and certain unary ops."
<< " Try passing the `transform_unary_ops` option on the dynare command line." << endl;
exit(EXIT_FAILURE);
}