Replace t_grps with std::vector
[alexxy/gromacs.git] / src / gromacs / fileio / enxio.cpp
index 35be6cb9e034e6866039798c5f95b88bdb83e7a3..f0d22ae4a9c922ec149020280014d1a2a8f2e0cf 100644 (file)
@@ -1208,7 +1208,7 @@ void get_enx_state(const char *fn, real t, const SimulationGroups &groups, t_inp
 
         for (i = 0; i < state->ngtc; i++)
         {
-            ni   = groups.groups[SimulationAtomGroupType::TemperatureCoupling].nm_ind[i];
+            ni   = groups.groups[SimulationAtomGroupType::TemperatureCoupling][i];
             bufi = *(groups.groupNames[ni]);
             for (j = 0; (j < state->nhchainlength); j++)
             {