imax0 not in gfortran
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Tue, 26 Sep 2017 14:57:47 +0000 (16:57 +0200)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Tue, 26 Sep 2017 14:57:47 +0000 (16:57 +0200)
source/unres/src_MD/energy_p_new_barrier.F

index ff669d4..2f41df9 100644 (file)
@@ -4932,7 +4932,7 @@ c     &     " ithet_end",ithet_end
           sinkt(k)=dsin(k*theti2)
         enddo
 C        if (i.gt.3) then
-        if (i.gt.3 .and. itype(imax0(i-3,1)).ne.ntyp1) then
+        if (i.gt.3 .and. itype(max0(i-3,1)).ne.ntyp1) then
 #ifdef OSF
           phii=phi(i)
           if (phii.ne.phii) phii=150.0