X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD%2Frescode.f;h=12abbbebd79107b31d26d941ecca8d96a97e2ca3;hb=c5ec89bc5a1a6284af47c252d470f4283dfc8988;hp=2973ef9529f86eace91eee011b4595ca4317aa07;hpb=478a9d9a1c99eb3f4bc4ca676ff3162bdd01d633;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