Fix to gfortran compatibility
This commit is contained in:
parent
fd901648f2
commit
068b5d99a9
2 changed files with 7 additions and 3 deletions
|
@ -370,7 +370,11 @@ module elements
|
|||
|
||||
subroutine set_max_esize
|
||||
!This subroutine sets the maximum esize
|
||||
max_esize=maxval(size_ele)
|
||||
if(allocated(size_ele)) then
|
||||
max_esize=maxval(size_ele)
|
||||
else
|
||||
max_esize = 2
|
||||
end if
|
||||
end subroutine
|
||||
|
||||
subroutine interpolate_atoms(type, esize, lat_type, r_in, type_interp, r_interp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue