Fix segmentation fault with cosine pulling
authorBerk Hess <hess@kth.se>
Mon, 29 Jul 2019 11:45:34 +0000 (13:45 +0200)
committerBerk Hess <hess@kth.se>
Mon, 29 Jul 2019 11:45:34 +0000 (13:45 +0200)
commit457d046bd141a7258cfda4614a23709d911adaab
tree951686db65503d7c5d6dd35eeaf15124930b043b
parent41a44e7a8660dfbbbc5f4d23e6ee91d37023c9eb
Fix segmentation fault with cosine pulling

Both grompp and mdrun would fail with a segmentation fault when
using cosine-weighted COM pulling.

Fixes #3023

Change-Id: I6342a579251d21ba07a42d23ce578ae1e20c3286
docs/release-notes/2019/2019.4.rst
src/gromacs/pulling/pull.cpp
src/gromacs/pulling/pullutil.cpp