X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD%2Frescode.f;h=12abbbebd79107b31d26d941ecca8d96a97e2ca3;hb=cc6bfed2a73175fb7329acdd60f3d89d9f25afbb;hp=2973ef9529f86eace91eee011b4595ca4317aa07;hpb=09c59d93e015e59ab76abe27b9ab0795a64ae803;p=unres.git diff --git a/source/unres/src_MD/rescode.f b/source/unres/src_MD/rescode.f index 2973ef9..12abbbe 100644 --- a/source/unres/src_MD/rescode.f +++ b/source/unres/src_MD/rescode.f @@ -7,7 +7,8 @@ if (itype.eq.0) then - do i=1,ntyp1 + do i=-ntyp1,ntyp1 +cc write(iout,*),i,ucase(nam),restyp(i) if (ucase(nam).eq.restyp(i)) then rescode=i return @@ -16,7 +17,7 @@ else - do i=1,ntyp1 + do i=-ntyp1,ntyp1 if (nam(1:1).eq.onelet(i)) then rescode=i return