{
const gmx_molblock_t &molb = mtop.molblock[mb];
const gmx_moltype_t &molt = mtop.moltype[molb.type];
- if (vsiteIlistNrCount(molt.ilist) > 0)
+ if (vsiteIlistNrCount(molt.ilist.data()) > 0)
{
int atomOffset = mtop.moleculeBlockIndices[mb].globalAtomStart;
for (int mol = 0; mol < molb.nmol; mol++)
{
const gmx_moltype_t &molt = mtop.moltype[mt];
vsite->vsite_pbc_molt[mt] = get_vsite_pbc(mtop.ffparams.iparams,
- molt.ilist,
+ molt.ilist.data(),
molt.atoms.atom, nullptr,
molt.cgs);
}