Remove unused ExprNode::collectExogenous()

issue#70
Sébastien Villemot 2020-09-29 18:19:22 +02:00
parent b0bd031a9f
commit 2424b7358c
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 0 additions and 17 deletions

View File

@ -135,15 +135,6 @@ ExprNode::collectEndogenous(set<pair<int, int>> &result) const
result.emplace(datatree.symbol_table.getTypeSpecificID(symb_id), lag);
}
void
ExprNode::collectExogenous(set<pair<int, int>> &result) const
{
set<pair<int, int>> 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<int, int> &derivOrder,
map<pair<int, int>, temporary_terms_t> &temp_terms_map,

View File

@ -397,14 +397,6 @@ public:
*/
virtual void collectEndogenous(set<pair<int, int>> &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<pair<int, int>> &result) const;
class EvalException
{
};