From b80842c4ca1a4a7ab5a3aaad4df39c1214ca4814 Mon Sep 17 00:00:00 2001
From: carlocamilloni <carlo.camilloni@gmail.com>
Date: Thu, 22 Mar 2018 09:48:57 +0100
Subject: [PATCH] gmx 2016.5

---
 patches/gromacs-2016.5.diff/src/programs/mdrun/runner.cpp     | 4 ++--
 .../src/programs/mdrun/runner.cpp.preplumed                   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/patches/gromacs-2016.5.diff/src/programs/mdrun/runner.cpp b/patches/gromacs-2016.5.diff/src/programs/mdrun/runner.cpp
index f3e0e4ece..b5eafe37d 100644
--- a/patches/gromacs-2016.5.diff/src/programs/mdrun/runner.cpp
+++ b/patches/gromacs-2016.5.diff/src/programs/mdrun/runner.cpp
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2011,2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2011,2012,2013,2014,2015,2016,2017, 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.
@@ -526,7 +526,7 @@ static void increase_nstlist(FILE *fp, t_commrec *cr,
         gmx_warning(!bBox ? box_err : dd_err);
         if (fp != NULL)
         {
-            fprintf(fp, "\n%s\n", bBox ? box_err : dd_err);
+            fprintf(fp, "\n%s\n", !bBox ? box_err : dd_err);
         }
         ir->nstlist = nstlist_orig;
     }
diff --git a/patches/gromacs-2016.5.diff/src/programs/mdrun/runner.cpp.preplumed b/patches/gromacs-2016.5.diff/src/programs/mdrun/runner.cpp.preplumed
index 560b923ba..ad3998103 100644
--- a/patches/gromacs-2016.5.diff/src/programs/mdrun/runner.cpp.preplumed
+++ b/patches/gromacs-2016.5.diff/src/programs/mdrun/runner.cpp.preplumed
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2011,2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2011,2012,2013,2014,2015,2016,2017, 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.
@@ -520,7 +520,7 @@ static void increase_nstlist(FILE *fp, t_commrec *cr,
         gmx_warning(!bBox ? box_err : dd_err);
         if (fp != NULL)
         {
-            fprintf(fp, "\n%s\n", bBox ? box_err : dd_err);
+            fprintf(fp, "\n%s\n", !bBox ? box_err : dd_err);
         }
         ir->nstlist = nstlist_orig;
     }
-- 
GitLab