Prevent ICE on gfortran 4.8

This commit is contained in:
Paul Romano 2018-04-02 11:41:02 -05:00
parent 8a6c6d1398
commit 4be18cb9e9

View file

@ -716,9 +716,9 @@ contains
if (index >= 1 .and. index <= n_meshes) then
associate (m => meshes(index))
if (allocated(m % lower_left)) then
ll = C_LOC(m % lower_left)
ur = C_LOC(m % upper_right)
width = C_LOC(m % width)
ll = C_LOC(m % lower_left(1))
ur = C_LOC(m % upper_right(1))
width = C_LOC(m % width(1))
n = m % n_dimension
else
err = E_ALLOCATE