diff --git a/src/volume_calc.F90 b/src/volume_calc.F90 index 22647c4da..dee646860 100644 --- a/src/volume_calc.F90 +++ b/src/volume_calc.F90 @@ -389,7 +389,7 @@ contains allocate(temp(size(this % domain_id), k)) temp(:, 1:nm) = hits(:, 1:nm) - call move_alloc(FROM=temp, TO=indices) + call move_alloc(FROM=temp, TO=hits) end if ! Add an entry to both the indices list and the hits list