{
GMX_ASSERT(graph != nullptr, "We use a graph with PBC (no periodic mols) and without DD");
- *graph = mk_graph(nullptr, &(top->idef), 0, top_global.natoms, FALSE, FALSE);
+ *graph = mk_graph(nullptr, top->idef, 0, top_global.natoms, FALSE, FALSE);
}
else if (graph != nullptr)
{
if (constr)
{
- constr->setConstraints(*top, *mdatoms);
+ constr->setConstraints(top, *mdatoms);
}
}