Make last commit compile

This commit is contained in:
Markus Blatt 2015-09-08 09:30:16 +02:00
parent 3412d1ff1e
commit ef6cf0d928

View File

@ -217,10 +217,10 @@ void WellsManager::createWellsFromSpecs(std::vector<WellConstPtr>& wells, size_t
// Check that the complete well is on this process // Check that the complete well is on this process
if( sum_completions_on_proc < completionSet->size() ) if( sum_completions_on_proc < completionSet->size() )
{ {
OPM_THROW(std::runtime_error, "Each well must be completely stored std::size_t missing = completionSet->size()-shut_completions_number-sum_completions_on_proc;
<<"on processor! Not the case for "<< well->name()<<": " OPM_THROW(std::runtime_error, "Each well must be completely stored "
<<completionSet->size()-shut_completions-sum_completions_on_proc <<"on one process! Not the case for "<< well->name()<<": "
<<" completions missing."); <<missing<<" completions missing.");
} }
} }
} }