Skip to content

Commit

Permalink
Fix uninitialized variable in C api.
Browse files Browse the repository at this point in the history
Signed-off-by: MtoLStoN <[email protected]>
  • Loading branch information
MtoLStoN committed Sep 21, 2023
1 parent b2b32d0 commit 0edcffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpx_c_api.f90
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ subroutine get_energies_api(vcalc,energies) &
energies(3) = calc%ptr%dG_res
energies(4) = calc%ptr%dG_smd
energies(5) = calc%ptr%dG_ss
energies(6) = calc%ptr%dG_shift
energies(6) = calc%ptr%param%shift

end subroutine get_energies_api

Expand Down

0 comments on commit 0edcffd

Please sign in to comment.