Skip to content

Commit

Permalink
fixed warnings in pio_decomp_tests_3d.F90.in
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jun 25, 2019
1 parent ad0c193 commit 32aaa7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/general/pio_decomp_tests_3d.F90.in
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ PIO_TF_AUTO_TEST_SUB_BEGIN nc_write_read_3d_col_decomp
PIO_TF_FC_DATA_TYPE, dimension(:,:,:), allocatable :: rbuf, wbuf, exp_val
integer, dimension(NDIMS) :: dims
integer, dimension(NDIMS) :: pio_dims
integer :: i, j, k, tmp_idx, ierr, lsz, nrows, ncols, nhgts
integer :: i, j, k, tmp_idx, ierr, nrows, ncols, nhgts
! iotypes = valid io types
integer, dimension(:), allocatable :: iotypes
character(len=PIO_TF_MAX_STR_LEN), dimension(:), allocatable :: iotype_descs
Expand All @@ -125,7 +125,7 @@ PIO_TF_AUTO_TEST_SUB_BEGIN nc_write_read_3d_col_decomp
wbuf(i,j,k) = (start(3) - 1 + k - 1) * (dims(1) * dims(2)) +&
(start(2) - 1 + j - 1) * dims(1) + i
tmp_idx = (k - 1) * (ncols * nrows) + (j - 1) * nrows + i
compdof(tmp_idx) = wbuf(i,j,k)
compdof(tmp_idx) = int(wbuf(i,j,k))
end do
end do
end do
Expand Down

0 comments on commit 32aaa7b

Please sign in to comment.