Remove unused field n_exog of DynamicModelDLL class
parent
3f8c577630
commit
325a2ea90e
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2010-2012 Dynare Team
|
* Copyright (C) 2010-2013 Dynare Team
|
||||||
*
|
*
|
||||||
* This file is part of Dynare.
|
* This file is part of Dynare.
|
||||||
*
|
*
|
||||||
|
@ -37,7 +37,7 @@ ModelSolution::ModelSolution(const std::string &dynamicDllFile, size_t n_endo_a
|
||||||
n_jcols(n_exo+n_endo+ zeta_back_arg.size() /*nsPred*/ + zeta_fwrd_arg.size() /*nsForw*/ +2*zeta_mixed_arg.size()),
|
n_jcols(n_exo+n_endo+ zeta_back_arg.size() /*nsPred*/ + zeta_fwrd_arg.size() /*nsForw*/ +2*zeta_mixed_arg.size()),
|
||||||
jacobian(n_endo, n_jcols), residual(n_endo), Mx(1, n_exo),
|
jacobian(n_endo, n_jcols), residual(n_endo), Mx(1, n_exo),
|
||||||
decisionRules(n_endo_arg, n_exo_arg, zeta_fwrd_arg, zeta_back_arg, zeta_mixed_arg, zeta_static_arg, INqz_criterium),
|
decisionRules(n_endo_arg, n_exo_arg, zeta_fwrd_arg, zeta_back_arg, zeta_mixed_arg, zeta_static_arg, INqz_criterium),
|
||||||
dynamicDLLp(dynamicDllFile, n_exo),
|
dynamicDLLp(dynamicDllFile),
|
||||||
llXsteadyState(n_jcols-n_exo)
|
llXsteadyState(n_jcols-n_exo)
|
||||||
{
|
{
|
||||||
Mx.setAll(0.0);
|
Mx.setAll(0.0);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2010-2012 Dynare Team
|
* Copyright (C) 2010-2013 Dynare Team
|
||||||
*
|
*
|
||||||
* This file is part of Dynare.
|
* This file is part of Dynare.
|
||||||
*
|
*
|
||||||
|
@ -23,8 +23,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
DynamicModelDLL::DynamicModelDLL(const std::string &dynamicDllFile, size_t n_exog_arg) throw (TSException) :
|
DynamicModelDLL::DynamicModelDLL(const std::string &dynamicDllFile) throw (TSException)
|
||||||
n_exog(n_exog_arg)
|
|
||||||
{
|
{
|
||||||
std::string fName;
|
std::string fName;
|
||||||
#if !defined(__CYGWIN32__) && !defined(_WIN32)
|
#if !defined(__CYGWIN32__) && !defined(_WIN32)
|
||||||
|
|
|
@ -44,7 +44,6 @@ class DynamicModelDLL
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
DynamicFn Dynamic; // pointer to the Dynamic function in DLL
|
DynamicFn Dynamic; // pointer to the Dynamic function in DLL
|
||||||
const size_t n_exog; // 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
|
||||||
|
@ -53,7 +52,7 @@ private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// construct and load Dynamic model DLL
|
// construct and load Dynamic model DLL
|
||||||
DynamicModelDLL(const std::string &dynamicDllFile, size_t n_exog_arg) throw (TSException);
|
DynamicModelDLL(const std::string &dynamicDllFile) throw (TSException);
|
||||||
virtual ~DynamicModelDLL();
|
virtual ~DynamicModelDLL();
|
||||||
|
|
||||||
//! evaluate Dynamic model DLL
|
//! evaluate Dynamic model DLL
|
||||||
|
|
Loading…
Reference in New Issue