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