fixing the compilation problem related to DenseAD
This commit is contained in:
parent
3b933ae42a
commit
292e84ec08
@ -37,6 +37,7 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
/*
|
/*
|
||||||
|
@ -443,6 +443,12 @@ public:
|
|||||||
static Evaluation createConstant(ValueType value)
|
static Evaluation createConstant(ValueType value)
|
||||||
{ return Evaluation::createConstant(value); }
|
{ return Evaluation::createConstant(value); }
|
||||||
|
|
||||||
|
static Evaluation createConstant(unsigned numDeriv, const ValueType value)
|
||||||
|
{ return Evaluation::createConstant(numDeriv, value); }
|
||||||
|
|
||||||
|
static Evaluation createConstant(const Evaluation& x, const ValueType value)
|
||||||
|
{ return Evaluation::createConstant(x, value); }
|
||||||
|
|
||||||
static Evaluation createVariable(ValueType value, int varIdx)
|
static Evaluation createVariable(ValueType value, int varIdx)
|
||||||
{ return Evaluation::createVariable(value, varIdx); }
|
{ return Evaluation::createVariable(value, varIdx); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user