X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fcluster%2Fwham%2Fsrc%2Farcos.f;h=698f704a2e08d2955db2ee3e4da3e12284078b8a;hb=65c7c448c98f2860c26765203ee15798231865cf;hp=052a1e4b541287f30debba0e0051fa92b63b3267;hpb=a45ce81aae2c857c30b821e39e45a7a08356de4d;p=unres.git diff --git a/source/cluster/wham/src/arcos.f b/source/cluster/wham/src/arcos.f index 052a1e4..f054118 100644 --- a/source/cluster/wham/src/arcos.f +++ b/source/cluster/wham/src/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(X,1.0D0)*PI) + ARCOS=PIPOL*(1.0d0-DSIGN(1.0D0,X)) RETURN 1 ARCOS=DACOS(X) RETURN