fix typo in reading input parameter tolerance

This commit is contained in:
Rex Zhe Li committed 2019-10-28 17:04:35 -04:00
1 parent 1265c5cfac
commit 38a3ae82b6
1 file changed
+1 -1
+1 -1
View File
@@ -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" );