Make it possible to use FEP lambda states as a reaction coordinate in AWH. Atom masse...
[alexxy/gromacs.git] / src / gromacs / mdtypes / enerdata.h
index ca9ba67d34a432d9a26d5a2d2bc9e1a17e09b465..deef2444a123a737dc40e2f47dbfde2302e582b2 100644 (file)
@@ -161,7 +161,7 @@ public:
      *
      * \param[in] cr  Communication record, used to reduce the terms when !=nullptr
      */
-    std::pair<std::vector<double>, std::vector<double>> getTerms(t_commrec* cr) const;
+    std::pair<std::vector<double>, std::vector<double>> getTerms(const t_commrec* cr) const;
 
     //! Sets all terms to 0
     void zeroAllTerms();