stick to previous method of parameter extraction. grouping is not what we wanted here.

This commit is contained in:
Robert K 2014-10-22 15:29:20 +02:00
parent 2a7f951e25
commit 05608a6145

View File

@ -299,10 +299,9 @@ namespace Opm
// adaptive time stepping
std::unique_ptr< AdaptiveTimeStepping > adaptiveTimeStepping;
const parameter::ParameterGroup& timeStepParam = param_.getDefault( "timestep", param_ );
if( timeStepParam.getDefault("adaptive", bool(false) ) )
if( param_.getDefault("timestep.adaptive", bool(false) ) )
{
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( timeStepParam ) );
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( param_ ) );
}
// Main simulation loop.