Fixed incorrect enum
[alexxy/gromacs.git] / src / gromacs / mdlib / md_support.cpp
index 7e301f6bf752816130cc0534d36676beb7315003..cecbc3ca0ca216dd06906c2ea992797ea46e04e9 100644 (file)
@@ -572,7 +572,7 @@ void set_state_entries(t_state* state, const t_inputrec* ir, bool useModularSimu
             state->flags |= (1 << estVETA);
             state->flags |= (1 << estVOL0);
         }
-        if (ir->epc == epcBERENDSEN)
+        if (ir->epc == epcBERENDSEN || ir->epc == epcCRESCALE)
         {
             state->flags |= (1 << estBAROS_INT);
         }