Clean up CMAP placement in parameter list
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / topio.c
index e5b97a4d4320dd813de6c441f60b6f57a50867b7..00addd94532138dce23061c1826a464a478e8eca 100644 (file)
@@ -610,8 +610,8 @@ static char **read_topol(const char *infile, const char *outfile,
     comb     = 0;
 
     /* Init the number of CMAP torsion angles  and grid spacing */
-    plist->grid_spacing = 0;
-    plist->nc           = 0;
+    plist[F_CMAP].grid_spacing = 0;
+    plist[F_CMAP].nc           = 0;
 
     bWarn_copy_A_B = bFEP;