mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-04 11:10:29 -06:00
transmult and initconfig are ref's, use ref for EclipseState constructor
This commit is contained in:
parent
4220bb2615
commit
ec2dc7773c
@ -200,7 +200,7 @@ namespace Opm
|
||||
std::vector<EquilRecord>
|
||||
getEquil(const Opm::EclipseState& state)
|
||||
{
|
||||
const auto& init = *state.getInitConfig();
|
||||
const auto& init = state.getInitConfig();
|
||||
|
||||
if( !init.hasEquil() ) {
|
||||
OPM_THROW(std::domain_error, "Deck does not provide equilibration data.");
|
||||
|
Loading…
Reference in New Issue
Block a user