Homec4science

bugfix for template atom style segfault reported by hunter swan

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Oct 6 2014, 17:43.

Description

bugfix for template atom style segfault reported by hunter swan

the onemol[]->special array wasn't allocated for templates without
bonds (or reserving space for bonds) and thus resulted in a segfault
when the neighbor list code calls find_special().
we now allocate the special member unconditionally.

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Oct 6 2014, 17:43
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPS645cb88b2729: more updates to the colvars library
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPSce9e0a12f741: bugfix for template atom style segfault reported by hunter swan (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Oct 6 2014, 17:43