mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-01 17:03:06 -06:00
Marked constructor as explicit.
This commit is contained in:
1 parent
84305a7a8d
commit
dfc5331696
1 file changed
+1
-1
@@ -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())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user