Don't prescribe a different resistance value if the user has given one > 0.

This commit is contained in:
Holger Vogt 2023-12-10 15:15:44 +01:00
parent 88ce328d84
commit 0cdf3f0d28
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ RESmParam(int param, IFvalue *value, GENmodel *inModel)
model->RESefGiven = TRUE;
break;
case RES_MOD_R:
if ( value->rValue > 1e-03 ) {
if ( value->rValue > 0 ) {
model->RESres = value->rValue;
model->RESresGiven = TRUE;
}