mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-04 13:36:57 -06:00
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:
parent
0650f9b42e
commit
13956625b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user