Skip to content
Snippets Groups Projects
Commit 77394b43 authored by Robert K's avatar Robert K
Browse files

make header compile.

parent 016c46ff
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,11 @@ protected: ...@@ -147,7 +147,11 @@ protected:
typedef typename Eos < Cons<size> > :: var_t var_t; typedef typename Eos < Cons<size> > :: var_t var_t;
const int dpdeps_avail; const int dpdeps_avail;
typedef Eos < Cons<size> > BaseType;
public: public:
using BaseType :: cs2;
inline Eos_cons(int = 0); inline Eos_cons(int = 0);
virtual double p(const var_t &) const = 0; virtual double p(const var_t &) const = 0;
double gamma(const var_t &) const; double gamma(const var_t &) const;
...@@ -365,6 +369,8 @@ template <class VAR> class VariableTop : public VAR ...@@ -365,6 +369,8 @@ template <class VAR> class VariableTop : public VAR
protected: protected:
VariableTop() : VAR() {} VariableTop() : VAR() {}
public: public:
using VAR :: init;
typedef VariableTop <VAR> var_t; typedef VariableTop <VAR> var_t;
typedef VariableTop <typename VAR::cvar1_t> cvar1_t; typedef VariableTop <typename VAR::cvar1_t> cvar1_t;
typedef VariableTop <typename VAR::cvar2_t> cvar2_t; typedef VariableTop <typename VAR::cvar2_t> cvar2_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment