Remove unnecessary config.h includes
[alexxy/gromacs.git] / src / gromacs / mdlib / wall.c
index f7e28280cb31a92d28ea3996220fec9d9b2d6572..38f26e3c1c1d466469b30d6942b7659ab68ca3fb 100644 (file)
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "gmxpre.h"
 
 #include <math.h>
 #include <string.h>
 
-#include "typedefs.h"
-#include "macros.h"
-#include "force.h"
-#include "nrnb.h"
-#include "vec.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/math/vec.h"
 
 #include "gromacs/fileio/filenm.h"
 #include "gromacs/math/utilities.h"
@@ -163,7 +161,7 @@ real do_walls(t_inputrec *ir, t_forcerec *fr, matrix box, t_mdatoms *md,
             }
             else
             {
-                lamfac = 0;
+                lamfac = lambda;
                 type   = md->typeB;
             }
         }