correction in readpdb (bugfix)
[unres.git] / source / unres / src_MD-M / readpdb.F
index c7f0ddd..da934d5 100644 (file)
@@ -74,7 +74,7 @@ C Calculate the CM of the preceding residue.
             endif
 C Start new residue.
 c            write (iout,'(a80)') card
-            read (card(24:26),*) ires
+            read (card(23:26),*) ires
             read (card(18:20),'(a3)') res
             if (ibeg.eq.1) then
               ishift=ires-1