From 4d53b1d27ebac60548401e6d72d1de0cf895745d Mon Sep 17 00:00:00 2001 From: Giovanni Bussi <giovanni.bussi@gmail.com> Date: Wed, 15 Jan 2020 23:51:36 +0100 Subject: [PATCH] Fixed #545 --- CHANGES/v2.4.md | 1 + src/cltools/Driver.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES/v2.4.md b/CHANGES/v2.4.md index 422b9ad03..d19cc5733 100644 --- a/CHANGES/v2.4.md +++ b/CHANGES/v2.4.md @@ -244,5 +244,6 @@ For users: - More robust backup for output files when running over multiple processes - Fixed a regression in the performances of GEOMETRY based flexible hills in \ref METAD and \ref PBMETAD - Fixed \issue{538}. + - Fixed potential issue with VMD plugins from 1.9.4 (\issue{545}, thanks to Lixin Sun). diff --git a/src/cltools/Driver.cpp b/src/cltools/Driver.cpp index 5d31302ee..1b8302406 100644 --- a/src/cltools/Driver.cpp +++ b/src/cltools/Driver.cpp @@ -386,6 +386,7 @@ int Driver<real>::main(FILE* in,FILE*out,Communicator& pc) { void *h_in=NULL; molfile_timestep_t ts_in; // this is the structure that has the timestep ts_in.coords=NULL; + ts_in.velocities=NULL; ts_in.A=-1; // we use this to check whether cell is provided or not #endif -- GitLab