Modernize atom enums
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_order.cpp
index bbf61e90b3118a3309d0c30b319af2c779cdc972..3a02b9f1a69a5070bb0786d17ce3edf0302f0b22 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
  * Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -928,7 +928,7 @@ static void write_bfactors(t_filenm*         fnm,
     /*initialize PDBinfo*/
     for (i = 0; i < useatoms.nr; ++i)
     {
-        useatoms.pdbinfo[i].type         = 0;
+        useatoms.pdbinfo[i].type         = PdbRecordType::Atom;
         useatoms.pdbinfo[i].occup        = 0.0;
         useatoms.pdbinfo[i].bfac         = 0.0;
         useatoms.pdbinfo[i].bAnisotropic = FALSE;