diff --git a/src/ExprNode.cc b/src/ExprNode.cc index 5ed4aba2..0aaafdbc 100644 --- a/src/ExprNode.cc +++ b/src/ExprNode.cc @@ -135,15 +135,6 @@ ExprNode::collectEndogenous(set> &result) const result.emplace(datatree.symbol_table.getTypeSpecificID(symb_id), lag); } -void -ExprNode::collectExogenous(set> &result) const -{ - set> symb_ids_and_lags; - collectDynamicVariables(SymbolType::exogenous, symb_ids_and_lags); - for (const auto &[symb_id, lag] : symb_ids_and_lags) - result.emplace(datatree.symbol_table.getTypeSpecificID(symb_id), lag); -} - void ExprNode::computeTemporaryTerms(const pair &derivOrder, map, temporary_terms_t> &temp_terms_map, diff --git a/src/ExprNode.hh b/src/ExprNode.hh index 8d88d19d..518370f6 100644 --- a/src/ExprNode.hh +++ b/src/ExprNode.hh @@ -397,14 +397,6 @@ public: */ virtual void collectEndogenous(set> &result) const; - //! Computes the set of exogenous variables in the expression - /*! - Exogenous are stored as integer pairs of the form (type_specific_id, lag). - They are added to the set given in argument. - Note that model local variables are substituted by their expression in the computation. - */ - virtual void collectExogenous(set> &result) const; - class EvalException { };