diff --git a/src/ExprNode.cc b/src/ExprNode.cc index 58d4d888..7e0a814f 100644 --- a/src/ExprNode.cc +++ b/src/ExprNode.cc @@ -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: