mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Marked constructor as explicit.
This commit is contained in:
parent
84305a7a8d
commit
dfc5331696
@ -117,7 +117,7 @@ public:
|
|||||||
//! \note After the PreconditionerConvertFieldTypeAdapter you can get the converted matrix
|
//! \note After the PreconditionerConvertFieldTypeAdapter you can get the converted matrix
|
||||||
//! by calling getConvertedMatrix(), which in turn can be used to create the underlying preconditioner.
|
//! 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.
|
//! 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_matrix(matrix)
|
||||||
, m_convertedMatrix(createConvertedMatrix())
|
, m_convertedMatrix(createConvertedMatrix())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user