From 91f0daf1bfbf59a5ed0ca0eb4efee78180141e93 Mon Sep 17 00:00:00 2001 From: anand43 Date: Tue, 24 Oct 2023 16:13:13 -0400 Subject: [PATCH] Fixed a typo in do loop condition --- src/swiftest/swiftest_io.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swiftest/swiftest_io.f90 b/src/swiftest/swiftest_io.f90 index 5d79f5969..657a80033 100644 --- a/src/swiftest/swiftest_io.f90 +++ b/src/swiftest/swiftest_io.f90 @@ -2116,7 +2116,7 @@ module subroutine swiftest_io_netcdf_write_frame_cb(self, nc, param) ! Populate coordinate values for l and m and export to hdf file allocate(lm_coords(l_dim_max)) - do i = 0, l_dim_max + do i = 0, l_dim_max - 1 lm_coords(i + 1) = i end do