Removed duplicate output writer setup.

The cat must have dragged that in during some of the various rebases of this branch.
This introduced a segmentation fault as for the second setup eclIO was already null.
This commit is contained in:
Markus Blatt 2017-03-17 11:08:55 +01:00
parent 0650f9b42e
commit 13956625b6

View File

@ -623,11 +623,6 @@ namespace Opm
// output_writer_
void setupOutputWriter()
{
output_writer_.reset(new OutputWriter(grid(),
param_,
eclState(),
std::move( eclIO_ ),
Opm::phaseUsageFromDeck(deck())) );
// create output writer after grid is distributed, otherwise the parallel output
// won't work correctly since we need to create a mapping from the distributed to
// the global view