Skip to content

Commit

Permalink
Backport small fix from LAMMPS
Browse files Browse the repository at this point in the history
silence uninitialized access valgrind warning
lammps/lammps@c3cc497
  • Loading branch information
jhenin committed Mar 28, 2024
1 parent 91d5ce5 commit 5b3b24f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/colvar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ colvar::colvar()
after_restart = false;
kinetic_energy = 0.0;
potential_energy = 0.0;
period = 0.0;

#ifdef LEPTON
dev_null = 0.0;
Expand Down

1 comment on commit 5b3b24f

@giacomofiorin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should no longer be relevant since #643.

Please sign in to comment.