Merge pull request #348 from atgeirr/silence-warning
Silence unused argument warning for DynamicEvaluation.
This commit is contained in:
commit
d0af89eca1
@ -395,7 +395,7 @@ public:
|
|||||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||||
// relevant variables, f(x) = c).
|
// relevant variables, f(x) = c).
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createConstant(const RhsValueType& value)
|
static Evaluation createConstant(const RhsValueType& value OPM_UNUSED)
|
||||||
{
|
{
|
||||||
throw std::logic_error("Dynamically-sized evaluation objects require to specify the number of derivatives.");
|
throw std::logic_error("Dynamically-sized evaluation objects require to specify the number of derivatives.");
|
||||||
}
|
}
|
||||||
|
@ -212,7 +212,7 @@ public:
|
|||||||
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
// "evaluate" a constant function (i.e. a function that does not depend on the set of
|
||||||
// relevant variables, f(x) = c).
|
// relevant variables, f(x) = c).
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createConstant(const RhsValueType& value)
|
static Evaluation createConstant(const RhsValueType& value OPM_UNUSED)
|
||||||
{
|
{
|
||||||
throw std::logic_error("Dynamically-sized evaluation objects require to specify the number of derivatives.");
|
throw std::logic_error("Dynamically-sized evaluation objects require to specify the number of derivatives.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user