Enable clang tidy/warnings for tests
[alexxy/gromacs.git] / src / gromacs / correlationfunctions / tests / expfit.cpp
index 5d5bd967df52f86794f1275f8360863d8d616f7c..4f365f0a35f224f5e49eb68fdcbd19c268c0cbd1 100644 (file)
@@ -63,7 +63,7 @@ namespace gmx
 
 namespace
 {
-
+#if HAVE_LMFIT
 class ExpfitData
 {
     public:
@@ -156,7 +156,6 @@ std::vector<ExpfitData> ExpfitTest::data_;
 
 // TODO calling test() leads to a fatal error, which we could in
 // principle test for.
-#if HAVE_LMFIT
 
 TEST_F (ExpfitTest, EffnEXP1) {
     double  param[] = {25};