Skip to content

Commit 8a32a8e

Browse files
author
Dag Sverre Seljebotn
committed
Small Fortran wrapper fixup
1 parent eb4a76a commit 8a32a8e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fortran/sharp.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ subroutine sharp_execute_d(type, spin, nmaps, alm, alm_info, map, geom_info, &
236236
end if
237237

238238
! Set up pointer table to access maps
239+
alm_ptr(:) = c_null_ptr
240+
map_ptr(:) = c_null_ptr
239241
do k = 1, nmaps
240242
if (alm_info%n_local > 0) alm_ptr(k) = c_loc(alm(0, k))
241243
if (geom_info%n_local > 0) map_ptr(k) = c_loc(map(0, k))

0 commit comments

Comments
 (0)