format the messages.

This commit is contained in:
Liu Ming
2016-06-08 15:38:21 +02:00
parent c843c714de
commit 4b210aaa51
2 changed files with 3 additions and 8 deletions

View File

@@ -156,7 +156,7 @@ namespace Opm {
bool Well::setStatus(size_t timeStep, WellCommon::StatusEnum status) {
if ((WellCommon::StatusEnum::OPEN == status) && getCompletions(timeStep)->allCompletionsShut()) {
m_messages.note("ERROR when handling keyword for well " + name() + ": Cannot open a well where all completions are shut");
m_messages.note("when handling keyword for well " + name() + ": Cannot open a well where all completions are shut");
return false;
} else
return m_status->update( timeStep , status );