Skip to content

Commit

Permalink
Fix indexing mistake in Poisson_solve_DAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
f-fathurrahman committed Jun 7, 2020
1 parent 24759e2 commit b42c1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Poisson_solve_DAGE.f90
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ SUBROUTINE Poisson_solve_DAGE( density, potential )
a = lin2xyz(1,ip)
b = lin2xyz(2,ip)
g = lin2xyz(3,ip)
potential(ip) = potential(ip) + w_t(i_t)*T_b2(a,b,g)*2.d0/sqrt(PI)
potential(ip) = potential(ip) + w_t(i_t)*T_b2(a,g,b)*2.d0/sqrt(PI)
ENDDO

ENDDO
Expand Down

0 comments on commit b42c1f5

Please sign in to comment.