[bugfix][StandardWellsDense] remove auto from method parameter list.

This commit is contained in:
Robert Kloefkorn 2017-06-27 16:51:11 +02:00
parent bf0937fae1
commit 936d035dc2
2 changed files with 3 additions and 2 deletions

View File

@ -77,6 +77,7 @@ enum WellVariablePositions {
typedef WellStateFullyImplicitBlackoilDense WellState;
typedef BlackoilModelParameters ModelParameters;
typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid;
typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem;
typedef typename GET_PROP_TYPE(TypeTag, ElementContext) ElementContext;
typedef typename GET_PROP_TYPE(TypeTag, Indices) BlackoilIndices;
@ -121,7 +122,7 @@ enum WellVariablePositions {
const std::vector<double>& pv_arg,
const RateConverterType* rate_converter,
long int global_nc,
const auto& grid);
const Grid& grid);
/// The number of components in the model.

View File

@ -49,7 +49,7 @@ namespace Opm {
const std::vector<double>& pv_arg,
const RateConverterType* rate_converter,
long int global_nc,
const auto& grid)
const Grid& grid)
{
// has to be set always for the convergence check!
global_nc_ = global_nc;