Skip to content
Snippets Groups Projects
Commit 09c663e7 authored by Andreas Dedner's avatar Andreas Dedner
Browse files

bug fix in RK solver

parent ea54c799
No related branches found
No related tags found
1 merge request!6Latest improvements in dune-fem-dg
......@@ -97,11 +97,7 @@ namespace Fem
*/
virtual int obtainRungeKuttaSteps( const int defaultRKOrder ) const
{
std::string key( keyPrefix_ + "order");
if ( Fem :: Parameter :: exists( key ) )
return parameter().getValue< int > ( key );
else
return defaultRKOrder ;
return parameter().getValue< int > ( keyPrefix_+"order", defaultRKOrder );
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment