Change vector references to Arrayref in AWH
[alexxy/gromacs.git] / src / gromacs / applied_forces / awh / coordstate.cpp
index bfa7022b102a7e9f6395372213ed9cc267cfa42f..544a940bb4ad3b1d3c60fe2af2e734e9c50da6b4 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.
@@ -63,9 +63,9 @@
 namespace gmx
 {
 
-CoordState::CoordState(const AwhBiasParams&          awhBiasParams,
-                       const std::vector<DimParams>& dimParams,
-                       const BiasGrid&               grid)
+CoordState::CoordState(const AwhBiasParams&      awhBiasParams,
+                       ArrayRef<const DimParams> dimParams,
+                       const BiasGrid&           grid)
 {
     for (size_t d = 0; d < dimParams.size(); d++)
     {