Skip to content

Commit

Permalink
Fixed array bounds errors
Browse files Browse the repository at this point in the history
  • Loading branch information
keithbennett committed Jun 27, 2018
1 parent 85bad0e commit 5629fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epoch1d/src/user_interaction/deltaf_loader.F90
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ MODULE deltaf_loader
SUBROUTINE params_local(current, temperature, drift, temp_local, drift_local)

TYPE(particle), POINTER, INTENT(IN) :: current
REAL(num), DIMENSION(-2:), INTENT(IN) :: temperature, drift
REAL(num), DIMENSION(1-ng:), INTENT(IN) :: temperature, drift
REAL(num), INTENT(INOUT) :: temp_local, drift_local
REAL(num) :: gf
INTEGER :: ix, i
Expand All @@ -61,7 +61,7 @@ END SUBROUTINE params_local
SUBROUTINE density_local(current, density, dens_local)

TYPE(particle), POINTER, INTENT(IN) :: current
REAL(num), DIMENSION(-2:), INTENT(IN) :: density
REAL(num), DIMENSION(1-ng:), INTENT(IN) :: density
REAL(num), INTENT(INOUT) :: dens_local
INTEGER :: ix, i

Expand Down

0 comments on commit 5629fac

Please sign in to comment.