Added missing NULL in chainsep enum in pdb2gmx.
authorRossen Apostolov <rossen@cbr.su.se>
Tue, 10 Aug 2010 14:16:49 +0000 (16:16 +0200)
committerRossen Apostolov <rossen@cbr.su.se>
Tue, 10 Aug 2010 14:16:49 +0000 (16:16 +0200)
Interestingly this was trigered only when compiled with icc in double precision.
Thanks to Teemu for finding it, closing bug 495.

src/kernel/pdb2gmx.c

index 88b0ed4247c5e7d923e208b54566cbe467b0d8d0..986a83b94b7a67172dbd196c0236b2afc2923dbc 100644 (file)
@@ -1061,7 +1061,7 @@ int main(int argc, char *argv[])
   static real long_bond_dist=0.25, short_bond_dist=0.05;
   static const char *vsitestr[] = { NULL, "none", "hydrogens", "aromatics", NULL };
   static const char *watstr[] = { NULL, "select", "none", "spc", "spce", "tip3p", "tip4p", "tip5p", NULL };
-  static const char *chainsep[] = { NULL, "id_or_ter", "id_and_ter", "ter", "id", "interactive" };
+  static const char *chainsep[] = { NULL, "id_or_ter", "id_and_ter", "ter", "id", "interactive", NULL };
   static const char *ff = "select";
 
   t_pargs pa[] = {