Use better data structure to implement ResidueType
[alexxy/gromacs.git] / src / gromacs / topology / index.cpp
index 6d671af2b58aa0a50d31b8bc5931cb87eb8cb907..fb738e43c51c3360059c475b09125da6583b6eed 100644 (file)
@@ -562,7 +562,7 @@ void analyse(const t_atoms* atoms, t_blocka* gb, char*** gn, gmx_bool bASK, gmx_
     add_grp(gb, gn, aid, "System");
 
     /* For every residue, get a pointer to the residue type name */
-    ResidueType rt;
+    ResidueTypeMap rt;
 
     std::vector<std::string> restype;
     std::vector<std::string> previousTypename;