diff --git a/opm/simulators/linalg/cuistl/PreconditionerConvertFieldTypeAdapter.hpp b/opm/simulators/linalg/cuistl/PreconditionerConvertFieldTypeAdapter.hpp index ab887158b..6b1f2403f 100644 --- a/opm/simulators/linalg/cuistl/PreconditionerConvertFieldTypeAdapter.hpp +++ b/opm/simulators/linalg/cuistl/PreconditionerConvertFieldTypeAdapter.hpp @@ -117,7 +117,7 @@ public: //! \note After the PreconditionerConvertFieldTypeAdapter you can get the converted matrix //! by calling getConvertedMatrix(), which in turn can be used to create the underlying preconditioner. //! Once the underlying precondtioner has been called, this must be supplied to setUnderlyingPreconditioner. - PreconditionerConvertFieldTypeAdapter(const M& matrix) + explicit PreconditionerConvertFieldTypeAdapter(const M& matrix) : m_matrix(matrix) , m_convertedMatrix(createConvertedMatrix()) {