mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-18 21:32:56 -06:00
Make last commit compile
This commit is contained in:
parent
4fc36e58fb
commit
8b11b7069f
@ -217,10 +217,10 @@ void WellsManager::createWellsFromSpecs(std::vector<WellConstPtr>& wells, size_t
|
||||
// Check that the complete well is on this process
|
||||
if( sum_completions_on_proc < completionSet->size() )
|
||||
{
|
||||
OPM_THROW(std::runtime_error, "Each well must be completely stored
|
||||
<<"on processor! Not the case for "<< well->name()<<": "
|
||||
<<completionSet->size()-shut_completions-sum_completions_on_proc
|
||||
<<" completions missing.");
|
||||
std::size_t missing = completionSet->size()-shut_completions_number-sum_completions_on_proc;
|
||||
OPM_THROW(std::runtime_error, "Each well must be completely stored "
|
||||
<<"on one process! Not the case for "<< well->name()<<": "
|
||||
<<missing<<" completions missing.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user