Merge branch origin/release-5-0
[alexxy/gromacs.git] / src / gromacs / gmxlib / typedefs.c
index 134f8c0ca55a3d1e4829d4f7c7550360d5e762f5..ca19c6c39ca02cef6b8aba0695d3750e036763c1 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015, 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.
@@ -307,9 +307,10 @@ void init_state(t_state *state, int natoms, int ngtc, int nnhpres, int nhchainle
 {
     int i;
 
-    state->natoms = natoms;
-    state->flags  = 0;
-    state->lambda = 0;
+    state->natoms    = natoms;
+    state->flags     = 0;
+    state->fep_state = 0;
+    state->lambda    = 0;
     snew(state->lambda, efptNR);
     for (i = 0; i < efptNR; i++)
     {