Skip to content

Commit

Permalink
Fix fragip losing shape info by bad assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
tornikeo authored and JayTheDog committed Nov 20, 2024
1 parent 65fa674 commit 7013304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/write_fragments.f90
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ subroutine manage_fragments(nuc, iat, xyz, axyz, mchrg, qat, spin, mass, &
fg: if ( nfrag > 1 ) then

do i = 1, nfrag
fragip(i,0) = 0.0_wp
fragip(i,1) = 0.0_wp
do j = 1, abs(mchrg)
ip_diff(i,j) = fragip(i,j) - fragip(i,j-1)

Expand Down

0 comments on commit 7013304

Please sign in to comment.