Skip to content

Commit

Permalink
Initialize energy array (cp2k#3461)
Browse files Browse the repository at this point in the history
  • Loading branch information
juerghutter authored Jun 11, 2024
1 parent 4261cd5 commit 417e363
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qs_energy_utils.F
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ SUBROUTINE qs_energies_mulliken(qs_env)
.NOT. dft_control%qs_control%dftb) THEN
CALL get_qs_env(qs_env=qs_env, natom=natom)
ALLOCATE (atcore(natom))
atcore = 0.0_dp
ALLOCATE (core_mat(1))
ALLOCATE (core_mat(1)%matrix)
CALL dbcsr_create(core_mat(1)%matrix, template=matrix_h(1)%matrix)
Expand Down

0 comments on commit 417e363

Please sign in to comment.