test_milu: avoid use of sstream

This commit is contained in:
Arne Morten Kvarving 2023-01-02 15:24:35 +01:00
parent 7dce14929b
commit b031c289bf

View File

@ -56,7 +56,8 @@ void test_milu0(M& A)
if ( col == colend ) if ( col == colend )
{ {
OPM_THROW(std::logic_error, "Missing diagonal entry for row " << irow.index()); OPM_THROW(std::logic_error,
"Missing diagonal entry for row " + std::to_string(irow.index()));
} }
for (++col ;col != colend; ++col) for (++col ;col != colend; ++col)
{ {