Replace t_grps with std::vector
[alexxy/gromacs.git] / src / gromacs / mdlib / wall.cpp
index 3f086e6898a9367e5b7e32bedeb04b655294d79a..b10b14b69b048965e2e377dfdebead44eccedc2c 100644 (file)
@@ -64,11 +64,10 @@ void make_wall_tables(FILE *fplog,
                       t_forcerec *fr)
 {
     int           negp_pp;
-    int          *nm_ind;
     char          buf[STRLEN];
 
     negp_pp = ir->opts.ngener - ir->nwall;
-    nm_ind  = groups->groups[SimulationAtomGroupType::EnergyOutput].nm_ind;
+    gmx::ArrayRef<const int> nm_ind  = groups->groups[SimulationAtomGroupType::EnergyOutput];
 
     if (fplog)
     {