Merge release-4-6 into master
[alexxy/gromacs.git] / src / programs / mdrun / md.c
index 23b44867fa5f319b4ab3d97129945c50464f90aa..04a4f7bb638dbc99a8acf3609892e36372a5a281 100644 (file)
@@ -323,7 +323,7 @@ double do_md(FILE *fplog, t_commrec *cr, int nfile, const t_filenm fnm[],
     debug_gmx();
 
     /* Check for polarizable models and flexible constraints */
-    shellfc = init_shell_flexcon(fplog,
+    shellfc = init_shell_flexcon(fplog, fr->cutoff_scheme == ecutsVERLET,
                                  top_global, n_flexible_constraints(constr),
                                  (ir->bContinuation ||
                                   (DOMAINDECOMP(cr) && !MASTER(cr))) ?