Remove call to list_size from add_grid_points.

This commit is contained in:
Paul Romano 2011-12-16 12:54:09 -06:00
parent efe3feeb54
commit 56de9654ad

View file

@ -99,7 +99,7 @@ contains
! if the original list is empty, we need to allocate the first element and
! store first energy point
if (list_size(list) == 0) then
if (.not. associated(list)) then
allocate(list)
current => list
do i = 1, n