k-order: removed unused variable from class definition
parent
3faaad7335
commit
d69d225b82
|
@ -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 ¶ms, 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);
|
||||
|
|
Loading…
Reference in New Issue