Marked constructor as explicit.

This commit is contained in:
Kjetil Olsen Lye committed 2023-05-30 11:50:02 +02:00
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())
{