X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD-M%2Farcos.f;h=f054118a1022be3f84f9a3a80bc64c15caebfbc7;hb=7f26ead9a8f9804b8426debe2d931dab4763fc3f;hp=69810ea0c66bb1053bc43099918f93b61f7a4639;hpb=4ec3074d0a2a2eea353931e0b8554768642c3802;p=unres.git diff --git a/source/unres/src_MD-M/arcos.f b/source/unres/src_MD-M/arcos.f index 69810ea..f054118 100644 --- a/source/unres/src_MD-M/arcos.f +++ b/source/unres/src_MD-M/arcos.f @@ -2,7 +2,7 @@ implicit real*8 (a-h,o-z) include 'COMMON.GEO' IF (DABS(X).LT.1.0D0) GOTO 1 - ARCOS=0.5D0*(PI+DSIGN(1.0D0,X)*PI) + ARCOS=PIPOL*(1.0d0-DSIGN(1.0D0,X)) RETURN 1 ARCOS=DACOS(X) RETURN