Convert gmx_cmap_t to C++
[alexxy/gromacs.git] / src / gromacs / listed-forces / listed-forces.cpp
index 598abb12d6a7076ef9bc17c77205a2baacb0d5c9..33646bd9f613f35e450e04c0ee424568073f6f70 100644 (file)
@@ -310,7 +310,7 @@ calc_one_bond(int thread,
                wallcycle needs to be extended to support calling from
                multiple threads. */
             v = cmap_dihs(nbn, iatoms+nb0,
-                          idef->iparams, &idef->cmap_grid,
+                          idef->iparams, idef->cmap_grid,
                           x, f, fshift,
                           pbc, g, lambda[efptFTYPE], &(dvdl[efptFTYPE]),
                           md, fcd, global_atom_index);