MILU: avoid use of sstream

This commit is contained in:
Arne Morten Kvarving 2023-01-02 15:17:49 +01:00
parent 4a0bdc38e1
commit 6d033fcf56

View File

@ -134,7 +134,8 @@ void milu0_decomposition(M& A, FieldFunct<M> absFunctor, FieldFunct<M> signFunct
}
if ( a_ik.index() != irow.index() )
OPM_THROW(std::logic_error, "Matrix is missing diagonal for row " << irow.index());
OPM_THROW(std::logic_error,
"Matrix is missing diagonal for row " + std::to_string(irow.index()));
int index = 0;
for(const auto& entry: sum_dropped)