BUG FIX in arcos.f
[unres.git] / source / wham / src-M / energy_p_new.F
index 2b99394..6c4d182 100644 (file)
@@ -3040,7 +3040,7 @@ C end of changes suggested by Ana
 C     &    .or. itype(i+5).eq.ntyp1
 C     &    .or. itype(i).eq.ntyp1
 C     &    .or. itype(i-1).eq.ntyp1
-     &    ) goto 178
+     &    ) goto 179
 
 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
 C
@@ -3169,6 +3169,7 @@ C Cartesian derivatives
 
         enddo
         endif
+  179 continue
       else if (j.eq.i+3 .and. itype(i+2).ne.ntyp1) then
       if (itype(i).eq.ntyp1 .or. itype(i+1).eq.ntyp1
 C changes suggested by Ana to avoid out of bounds