incorporate the staticSize template parameter for DynamicEvaluation

This commit is contained in:
Kai Bao 2019-03-21 13:19:51 +01:00
parent ad0e294e52
commit 33de77e595

View File

@ -122,7 +122,7 @@ namespace Opm
typedef Dune::DynamicMatrix<Scalar> OffDiagMatrixBlockWellType;
typedef Dune::BCRSMatrix<OffDiagMatrixBlockWellType> OffDiagMatWell;
typedef DenseAd::DynamicEvaluation<Scalar> EvalWell;
typedef DenseAd::DynamicEvaluation<Scalar, numStaticWellEq + numEq + 1> EvalWell;
using Base::contiSolventEqIdx;
using Base::contiPolymerEqIdx;