clarify error message in bfcfbac66d. #29

issue#70
Houtan Bastani 2019-09-30 14:27:58 +02:00
parent bfcfbac66d
commit 5e54761201
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 1 additions and 1 deletions

View File

@ -1212,7 +1212,7 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
exit(EXIT_FAILURE);
}
case SymbolType::unusedEndogenous:
cerr << "ERROR: You cannot use an unused endogenous variable in an expression" << endl;
cerr << "ERROR: You cannot use an endogenous variable in an expression if that variable has not been used in the model block." << endl;
exit(EXIT_FAILURE);
case SymbolType::externalFunction:
case SymbolType::trend: