Adam's corrections
[unres.git] / source / unres / src-HCD-5D / DIMENSIONS
index 113d3d2..8f84c08 100644 (file)
@@ -40,7 +40,8 @@ C Max. number of groups of interactions that a given SC is involved in
 C Max. number of derivatives of virtual-bond and side-chain vectors in theta
 C or phi.
       integer maxdim
-      parameter (maxdim=(maxres_chain-1)*(maxres_chain-2)/2)
+c      parameter (maxdim=(maxres_chain-1)*(maxres_chain-2)/2)
+      parameter (maxdim=(maxres-1)*(maxres-2)/2)
 C Max. number of SC contacts
       integer maxcont
       parameter (maxcont=12*maxres)