Remove effectless typedef in version check.

The typedef is the same and has no effect since we
switched to Dune::FMatrixHelp::invertMatrix.
This commit is contained in:
Markus Blatt 2018-02-26 12:20:28 +01:00
parent 8e78f02230
commit afb806bc3e

View File

@ -83,13 +83,7 @@ namespace Opm
typedef double Scalar;
typedef Dune::FieldVector<Scalar, numEq > VectorBlockType;
#if DUNE_VERSION_NEWER_REV(DUNE_ISTL, 2 , 5, 1)
// 3x3 matrix block inversion was unstable from at least 2.3 until and
// including 2.5.0
typedef Dune::FieldMatrix<Scalar, numEq, numEq > MatrixBlockType;
#else
typedef Dune::FieldMatrix<Scalar, numEq, numEq > MatrixBlockType;
#endif
typedef Dune::BCRSMatrix <MatrixBlockType> Mat;
typedef Dune::BlockVector<VectorBlockType> BVector;
typedef DenseAd::Evaluation<double, /*size=*/numEq> Eval;