Skip to content

Commit 88769ea

Browse files
authored
Merge pull request #2014 from jedwards4b/fix_in_piolib_mod_initdecomp_bc
fix bug found by Dusan
2 parents 4feee88 + 000bb95 commit 88769ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flib/piolib_mod.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ end function PIOc_InitDecomp_bc
564564
do i=1,ndims
565565
cdims(i) = dims(ndims-i+1)
566566
cstart(i) = compstart(ndims-i+1)-1
567-
cstart(i) = compcount(ndims-i+1)
567+
ccount(i) = compcount(ndims-i+1)
568568
end do
569569

570570
ierr = PIOc_InitDecomp_bc(iosystem%iosysid, basepiotype, ndims, cdims, &

0 commit comments

Comments
 (0)