X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD-M%2Frescode.f;h=bc794895c99660b7d940d8167a063a57d3d8b8e7;hb=5316f1d82cb17d390be734cefbfca809cc65dcc4;hp=2973ef9529f86eace91eee011b4595ca4317aa07;hpb=478a9d9a1c99eb3f4bc4ca676ff3162bdd01d633;p=unres.git diff --git a/source/unres/src_MD-M/rescode.f b/source/unres/src_MD-M/rescode.f index 2973ef9..bc79489 100644 --- a/source/unres/src_MD-M/rescode.f +++ b/source/unres/src_MD-M/rescode.f @@ -7,7 +7,7 @@ if (itype.eq.0) then - do i=1,ntyp1 + do i=-ntyp1,ntyp1 if (ucase(nam).eq.restyp(i)) then rescode=i return @@ -16,7 +16,7 @@ else - do i=1,ntyp1 + do i=-ntyp1,ntyp1 if (nam(1:1).eq.onelet(i)) then rescode=i return