gfortran foxes in src_CSA/energy_p_new_barrier.F, src_CSA_DiL/energy_p_new_barrier...
[unres.git] / source / unres / src_MD-M / stochfric.F
index 8faecc2..99a7502 100644 (file)
@@ -355,7 +355,7 @@ c  Load the friction coefficients corresponding to peptide groups
 c  Load the friction coefficients corresponding to side chains
       m=nct-nnt
       ind=0
-      gamsc(21)=1.0d0
+      gamsc(ntyp1)=1.0d0
       do i=nnt,nct
         ind=ind+1
         ii = ind+m
@@ -530,7 +530,7 @@ c
       include 'COMMON.INTERACT'
       include 'COMMON.IOUNITS'
       include 'COMMON.NAMES'
-      double precision radius(maxres2),gamvec(maxres6)
+      double precision radius(maxres2),gamvec(maxres2)
       parameter (twosix=1.122462048309372981d0)
       logical lprn /.true./
 c