From 1ef92c88bf5a473f5991b48aa57b7c3572cb5cea Mon Sep 17 00:00:00 2001 From: sebastien Date: Mon, 28 Sep 2009 13:31:00 +0000 Subject: [PATCH] preprocessor, StaticDllModel: removed useless method git-svn-id: https://www.dynare.org/svn/dynare/trunk@2990 ac1d8469-bf42-47a9-8791-bf33cf982152 --- StaticDllModel.cc | 6 ------ StaticDllModel.hh | 3 --- 2 files changed, 9 deletions(-) diff --git a/StaticDllModel.cc b/StaticDllModel.cc index 349e1a95..56457b53 100644 --- a/StaticDllModel.cc +++ b/StaticDllModel.cc @@ -48,12 +48,6 @@ StaticDllModel::StaticDllModel(SymbolTable &symbol_table_arg, { } -NodeID -StaticDllModel::AddVariable(const string &name, int lag) -{ - return AddVariableInternal(name, lag); -} - void StaticDllModel::compileDerivative(ofstream &code_file, int eq, int symb_id, int lag, map_idx_type &map_idx) const { diff --git a/StaticDllModel.hh b/StaticDllModel.hh index 8f509492..26f71250 100644 --- a/StaticDllModel.hh +++ b/StaticDllModel.hh @@ -119,9 +119,6 @@ private: public: StaticDllModel(SymbolTable &symbol_table_arg, NumericalConstants &num_constants); - //! Adds a variable node - /*! This implementation allows for non-zero lag */ - virtual NodeID AddVariable(const string &name, int lag = 0); //! Absolute value under which a number is considered to be zero double cutoff; //! Compute the minimum feedback set in the static model: