mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Schedule::getGroup returns reference, not pointer
This commit is contained in:
parent
f598906e09
commit
13a4364d55
@ -113,7 +113,7 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
|
|
||||||
if (param_.getDefault("use_TUNING", false)) {
|
if (param_.getDefault("use_TUNING", false)) {
|
||||||
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( *schedule->getTuning(), timer.currentStepNum(), param_, terminal_output_ ) );
|
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( schedule->getTuning(), timer.currentStepNum(), param_, terminal_output_ ) );
|
||||||
} else {
|
} else {
|
||||||
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( param_, terminal_output_ ) );
|
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( param_, terminal_output_ ) );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user