Colvars / colvars

Collective variables library for molecular simulation and analysis programs
http://colvars.github.io/
GNU Lesser General Public License v3.0
206 stars 59 forks source link

Do not try accessing LAMMPS proxy object before allocating it #701

Closed giacomofiorin closed 3 months ago

giacomofiorin commented 3 months ago

Fixes a bug reported up by @vineetbansal (see https://github.com/Colvars/colvars/pull/570#issuecomment-2200805494) when the seed argument is given to fix_colvars .

Also fixing the handling of the parameter tstat, which has a similar (so far undetected) bug.