Bugfix: adding integer to string literal is not concatenation.
This commit is contained in:
parent
273b1ecdda
commit
5981df7f82
@ -31,7 +31,7 @@ namespace Opm {
|
||||
if (timestep < m_decktimesteps.size()) {
|
||||
return m_decktimesteps[timestep];
|
||||
} else {
|
||||
throw std::out_of_range("No DeckTimeStep in ScheduleSection for timestep " + timestep);
|
||||
throw std::out_of_range("No DeckTimeStep in ScheduleSection for timestep " + std::to_string(timestep));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user