fix typo in reading input parameter tolerance
This commit is contained in:
1 parent
1265c5cfac
commit
38a3ae82b6
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ void ScaLBL_MRTModel::ReadParams(string filename){
|
||||
timestepMax = mrt_db->getScalar<int>( "timestepMax" );
|
||||
}
|
||||
if (mrt_db->keyExists( "tolerance" )){
|
||||
tolerance = mrt_db->getScalar<int>( "timestepMax" );
|
||||
tolerance = mrt_db->getScalar<double>( "tolerance" );
|
||||
}
|
||||
if (mrt_db->keyExists( "tau" )){
|
||||
tau = mrt_db->getScalar<double>( "tau" );
|
||||
|
||||
Reference in new issue
Block a user