Fix issues with check-source
authorejjordan <ejjordan@kth.se>
Tue, 28 Apr 2020 11:54:03 +0000 (13:54 +0200)
committerejjordan <ejjordan@kth.se>
Tue, 28 Apr 2020 11:54:14 +0000 (13:54 +0200)
src/gromacs/compat/tests/pointers.cpp
src/gromacs/gmxlib/nonbonded/nb_free_energy.cpp
src/gromacs/gmxpreprocess/tests/readir.cpp
src/gromacs/listed_forces/gpubonded.h
src/gromacs/nbnxm/nbnxm_simd.h
src/gromacs/utility/tests/enumerationhelpers.cpp
src/programs/mdrun/tests/densityfittingmodule.cpp
src/testutils/testasserts.h

index 991f9a31725e689a28a4897956fec54717f26c3e..4131ed28993f2bbb484b3f7844ca11bc2f03177e 100644 (file)
@@ -42,8 +42,6 @@
 
 #include "gromacs/compat/pointers.h"
 
-#include "config.h"
-
 #include <memory>
 #include <vector>
 
index a7ea1581761583bb85ab8a6956cc2ad3ae97e13d..592c73ffa33f434847904de59051da6de5c14ca6 100644 (file)
@@ -39,6 +39,8 @@
 
 #include "nb_free_energy.h"
 
+#include "config.h"
+
 #include <cmath>
 
 #include <algorithm>
index 80e407451b48b9619c57df2afe6942f6606a6d1c..71771bcccb91c79a7cf599aaf7ca6b265e3a6c36 100644 (file)
@@ -47,8 +47,6 @@
 
 #include "gromacs/gmxpreprocess/readir.h"
 
-#include "config.h"
-
 #include <string>
 
 #include <gtest/gtest.h>
index 9ba6d1a7ae40e37042b244c0165d20d67a2c8858..9d7d66829679fed62e163032e212c5be88ecf929 100644 (file)
@@ -187,7 +187,7 @@ public:
 
     /*! \brief Waits on the energy transfer, and accumulates bonded energies to \c enerd.
      *
-     * \param[in,out] The energy data object to add energy terms to.
+     * \param[in,out] enerd The energy data object to add energy terms to.
      */
     void waitAccumulateEnergyTerms(gmx_enerdata_t* enerd);
 
index 53fa3b9606992c29f94909be8345fea14518436b..dec5605f1f8624f0b1655462342ae41270e98193 100644 (file)
@@ -44,6 +44,8 @@
 #ifndef GMX_NBNXM_NBNXM_SIMD_H
 #define GMX_NBNXM_NBNXM_SIMD_H
 
+#include "config.h"
+
 #include "gromacs/math/vectypes.h"
 #include "gromacs/simd/simd.h"
 #include "gromacs/utility/real.h"
index 9d27cc96ac576972f4c90dba2c293503ae9d22d4..9f7da6257d29fe71765529e54c46c3c15522a247 100644 (file)
@@ -42,8 +42,6 @@
 
 #include "gromacs/utility/enumerationhelpers.h"
 
-#include "config.h"
-
 #include <iostream>
 
 #include <gtest/gtest.h>
index 7149eee08b3d87a291fdd7143e6900c34bcc08a2..ab7cc8798f04c283d435349198830bcaeef0314f 100644 (file)
@@ -42,8 +42,6 @@
  */
 #include "gmxpre.h"
 
-#include "config.h"
-
 #include <string>
 
 #include <gmock/gmock.h>
index 3e377280f87cba4a313d77852cf983c97f4a17ee..a737f03e4c6be1920d869b0bd54387280e17bce8 100644 (file)
@@ -57,6 +57,8 @@
 #ifndef GMX_TESTUTILS_TESTASSERTS_H
 #define GMX_TESTUTILS_TESTASSERTS_H
 
+#include "config.h"
+
 #include <string>
 
 #include <gtest/gtest.h>