Manage compiler flags and some include options per file or target, not globally
[alexxy/gromacs.git] / share / template / template.cpp
index 5b82cd5fdd1ce5b4a156de7da49f269d31ebd55b..e2111c53db9b81d6712b627ed82af2ec85c0af78 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2011,2012,2013,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2011,2012,2013,2014,2015,2019, 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.
@@ -125,7 +125,7 @@ void
 AnalysisTemplate::initAnalysis(const TrajectoryAnalysisSettings &settings,
                                const TopologyInformation         & /*top*/)
 {
-    nb_.setCutoff(cutoff_);
+    nb_.setCutoff(static_cast<real>(cutoff_));
 
     data_.setColumnCount(0, sel_.size());