Merge release-5-0 into master
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / topio.c
index 78124c50fb1ef6a21d2ccaef7c78719b7dcdaa11..b8e88b149c6f0b9078adf40ead0341424472e503 100644 (file)
@@ -613,8 +613,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;