Fix compiler warning
authorBerk Hess <hess@kth.se>
Tue, 9 Oct 2018 06:52:28 +0000 (08:52 +0200)
committerBerk Hess <hess@kth.se>
Tue, 9 Oct 2018 06:52:28 +0000 (08:52 +0200)
Change-Id: I2912def81dc0ba593a63498d1e6bce17fc6e3174

src/gromacs/mdlib/md_support.cpp

index 8a87cf1a3001253b033e1b3c9eb34f99a8a6b605..1de02364faac63864af381efad3d07e325c46f0c 100644 (file)
@@ -565,7 +565,7 @@ void set_state_entries(t_state *state, const t_inputrec *ir)
         state->flags |= (1<<estFEPSTATE);
     }
     state->flags |= (1<<estX);
-    GMX_RELEASE_ASSERT(state->x.size() == static_cast<unsigned int>(state->natoms), "We should start a run with an initialized state->x");
+    GMX_RELEASE_ASSERT(state->x.size() == state->natoms, "We should start a run with an initialized state->x");
     if (EI_DYNAMICS(ir->eI))
     {
         state->flags |= (1<<estV);