Fix random typos
[alexxy/gromacs.git] / src / gromacs / applied_forces / awh / histogramsize.h
index 7d9313549cd8443ec0e042e722e1785c25b9c94f..7861e794bcd4a127b78d353af6dc18da0bc4e1aa 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2016,2017,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2018,2019,2020,2021, 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.
@@ -64,7 +64,7 @@ namespace gmx
 template<typename>
 class ArrayRef;
 struct AwhBiasStateHistory;
-struct AwhBiasParams;
+class AwhBiasParams;
 class BiasParams;
 class PointState;
 
@@ -98,7 +98,8 @@ private:
      * \param[in]     params             The bias parameters.
      * \param[in]     t                  Time.
      * \param[in]     detectedCovering   True if we detected that the sampling interval has been
-     * sufficiently covered. \param[in,out] weightsumCovering  The weight sum for checking covering.
+     *                                   sufficiently covered.
+     * \param[in,out] weightsumCovering  The weight sum for checking covering.
      * \param[in,out] fplog              Log file.
      * \returns the new histogram size.
      */
@@ -122,12 +123,12 @@ public:
      * \param[in,out] fplog              Log file.
      * \returns the new histogram size.
      */
-    double newHistogramSize(const BiasParams&              params,
-                            double                         t,
-                            bool                           covered,
-                            const std::vector<PointState>& pointStates,
-                            ArrayRef<double>               weightsumCovering,
-                            FILE*                          fplog);
+    double newHistogramSize(const BiasParams&          params,
+                            double                     t,
+                            bool                       covered,
+                            ArrayRef<const PointState> pointStates,
+                            ArrayRef<double>           weightsumCovering,
+                            FILE*                      fplog);
 
     /*! \brief Restores the histogram size from history.
      *