D i L aminokwasy dzialajace dla src_CSA
[unres.git] / source / unres / src_CSA_DiL / readrtns_csa.F
index 17b2165..b910bfa 100644 (file)
@@ -509,9 +509,9 @@ c      print '(20i4)',(itype(i),i=1,nres)
 #endif
           itel(i)=0
 #ifdef PROCOR
-        else if (itype(i+1).ne.20) then
+        else if (iabs(itype(i+1)).ne.20) then
 #else
-        else if (itype(i).ne.20) then
+        else if (iabs(itype(i)).ne.20) then
 #endif
          itel(i)=1
         else