X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fcluster%2Fwham%2Fsrc%2Frescode.f;h=fb683507e5fea2bbb331483c62592777c4c99f0f;hb=8edf1bfce4d6b0586a4bde13101f96f48377a5ce;hp=ca0305cd3a73a855b594f9b7c62b7dd5fa9bd275;hpb=2d66111aef48a7db8a87b9f9b3882d640ea53435;p=unres.git diff --git a/source/cluster/wham/src/rescode.f b/source/cluster/wham/src/rescode.f index ca0305c..fb68350 100644 --- a/source/cluster/wham/src/rescode.f +++ b/source/cluster/wham/src/rescode.f @@ -6,7 +6,7 @@ if (itype.eq.0) then - do i=1,ntyp1 + do i=-ntyp1,ntyp1 if (ucase(nam).eq.restyp(i)) then rescode=i return @@ -15,7 +15,7 @@ else - do i=1,ntyp1 + do i=-ntyp1,ntyp1 if (nam(1:1).eq.onelet(i)) then rescode=i return