don't include dune traits for Evaluation
unused and it creates an unnecessary dune-common dependency now test_EvaluationFormat no longer depends on dune-common
This commit is contained in:
@@ -614,22 +614,6 @@ std::ostream& operator<<(std::ostream& os, const Evaluation<ValueType, numVars,
|
||||
} // namespace DenseAd
|
||||
} // namespace Opm
|
||||
|
||||
// this makes the Dune matrix/vector classes happy...
|
||||
#include <dune/common/ftraits.hh>
|
||||
|
||||
namespace Dune {
|
||||
template <class ValueType, int numVars, unsigned staticSize>
|
||||
struct FieldTraits<Opm::DenseAd::Evaluation<ValueType, numVars, staticSize> >
|
||||
{
|
||||
public:
|
||||
typedef Opm::DenseAd::Evaluation<ValueType, numVars, staticSize> field_type;
|
||||
// setting real_type to field_type here potentially leads to slightly worse
|
||||
// performance, but at least it makes things compile.
|
||||
typedef field_type real_type;
|
||||
};
|
||||
|
||||
} // namespace Dune
|
||||
|
||||
#include "EvaluationSpecializations.hpp"
|
||||
|
||||
#endif // OPM_DENSEAD_EVALUATION_HPP
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <opm/material/common/PolynomialUtils.hpp>
|
||||
|
||||
#include <csignal>
|
||||
#include <sstream>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user