Commit d69d225b authored by Houtan Bastani's avatar Houtan Bastani

k-order: removed unused variable from class definition

parent 3faaad73
......@@ -22,8 +22,7 @@
#include <sstream>
DynamicModelDLL::DynamicModelDLL(const string &modName, int nExog_arg, const string &sExt) throw (DynareException) :
nExog(nExog_arg)
DynamicModelDLL::DynamicModelDLL(const string &modName, const string &sExt) throw (DynareException)
{
string fName;
#if !defined(__CYGWIN32__) && !defined(_WIN32)
......
......@@ -42,7 +42,6 @@ class DynamicModelDLL
{
private:
DynamicFn Dynamic; // pointer to the Dynamic function in DLL
const int nExog; // no of exogenous
#if defined(_WIN32) || defined(__CYGWIN32__)
HINSTANCE dynamicHinstance; // DLL instance pointer in Windows
#else
......@@ -51,7 +50,7 @@ private:
public:
// 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();
void eval(const Vector &y, const Vector &x, const Vector &params, const Vector &ySteady,
......
......@@ -199,7 +199,7 @@ extern "C" {
std::string jName(fName); //params.basename);
jName += ".jnl";
Journal journal(jName.c_str());
DynamicModelDLL dynamicDLL(fName, nExog, dfExt);
DynamicModelDLL dynamicDLL(fName, dfExt);
// intiate tensor library
tls.init(kOrder, nStat+2*nPred+3*nBoth+2*nForw+nExog);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment