k-order: removed unused variable from class definition

time-shift
Houtan Bastani 2010-12-15 12:57:12 +01:00
parent 3faaad7335
commit d69d225b82
3 changed files with 3 additions and 5 deletions

View File

@ -22,8 +22,7 @@
#include <sstream> #include <sstream>
DynamicModelDLL::DynamicModelDLL(const string &modName, int nExog_arg, const string &sExt) throw (DynareException) : DynamicModelDLL::DynamicModelDLL(const string &modName, const string &sExt) throw (DynareException)
nExog(nExog_arg)
{ {
string fName; string fName;
#if !defined(__CYGWIN32__) && !defined(_WIN32) #if !defined(__CYGWIN32__) && !defined(_WIN32)

View File

@ -42,7 +42,6 @@ class DynamicModelDLL
{ {
private: private:
DynamicFn Dynamic; // pointer to the Dynamic function in DLL DynamicFn Dynamic; // pointer to the Dynamic function in DLL
const int nExog; // no of exogenous
#if defined(_WIN32) || defined(__CYGWIN32__) #if defined(_WIN32) || defined(__CYGWIN32__)
HINSTANCE dynamicHinstance; // DLL instance pointer in Windows HINSTANCE dynamicHinstance; // DLL instance pointer in Windows
#else #else
@ -51,7 +50,7 @@ private:
public: public:
// construct and load Dynamic model DLL // construct and load Dynamic model DLL
DynamicModelDLL(const string &fname, int nExog_arg, const string &sExt) throw (DynareException); DynamicModelDLL(const string &fname, const string &sExt) throw (DynareException);
virtual ~DynamicModelDLL(); virtual ~DynamicModelDLL();
void eval(const Vector &y, const Vector &x, const Vector &params, const Vector &ySteady, void eval(const Vector &y, const Vector &x, const Vector &params, const Vector &ySteady,

View File

@ -199,7 +199,7 @@ extern "C" {
std::string jName(fName); //params.basename); std::string jName(fName); //params.basename);
jName += ".jnl"; jName += ".jnl";
Journal journal(jName.c_str()); Journal journal(jName.c_str());
DynamicModelDLL dynamicDLL(fName, nExog, dfExt); DynamicModelDLL dynamicDLL(fName, dfExt);
// intiate tensor library // intiate tensor library
tls.init(kOrder, nStat+2*nPred+3*nBoth+2*nForw+nExog); tls.init(kOrder, nStat+2*nPred+3*nBoth+2*nForw+nExog);