X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2FMD.F90;h=0acdaf70f8e810e8f7a669c905749cda7ef0da27;hb=8cd7afe8e87106d4cdd4b6361171845086971607;hp=23e7bfabd7c005041cf1a0b9827f3ab7d6010ca9;hpb=df2469d9ac903d93889867f4e50e9bf6c428c1c6;p=unres4.git diff --git a/source/unres/MD.F90 b/source/unres/MD.F90 index 23e7bfa..0acdaf7 100644 --- a/source/unres/MD.F90 +++ b/source/unres/MD.F90 @@ -1203,7 +1203,7 @@ call zerograd call etotal(potEcomp) ! AL 4/17/17: Reduce the steps if NaNs occurred. - if (potEcomp(0).gt.0.99e20 .or. isnan(potEcomp(0)).gt.0) then + if (potEcomp(0).gt.0.99e18 .or. isnan(potEcomp(0)).gt.0) then d_time=d_time/2 cycle endif