corrections
[unres.git] / source / wham / src-HCD / parmread.F
index ecf40a7..b21acb2 100644 (file)
@@ -102,8 +102,8 @@ c
       V2SS = 7.61d0
       V3SS = 13.7d0
 
-      do i=1,maxres-1
-        do j=i+1,maxres
+      do i=1,max_cyst-1
+        do j=i+1,max_cyst
           dyn_ssbond_ij(i,j)=1.0d300
         enddo
       enddo