Skip to content

Commit 7daa1eb

Browse files
committed
Update initialization of uvmCD, caused some compiler to fail in debug mode due to uninitialized values
1 parent 0e59535 commit 7daa1eb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cicecore/cicedyn/infrastructure/ice_grid.F90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3341,7 +3341,7 @@ subroutine makemask
33413341
puny
33423342

33433343
real (kind=dbl_kind), dimension(:,:,:), allocatable :: &
3344-
uvmCD
3344+
uvmCD
33453345

33463346
type (block) :: &
33473347
this_block ! block information for current block
@@ -3367,6 +3367,7 @@ subroutine makemask
33673367
bm = c0
33683368
allocate(uvmCD(nx_block,ny_block,max_blocks), stat=ierr)
33693369
if (ierr/=0) call abort_ice(subname//' ERROR: Out of memory', file=__FILE__, line=__LINE__)
3370+
uvmCD = c0
33703371

33713372
!$OMP PARALLEL DO PRIVATE(iblk,i,j,ilo,ihi,jlo,jhi,this_block)
33723373
do iblk = 1, nblocks

0 commit comments

Comments
 (0)