Use ArrayRef in signatures of constraints and some pulling
[alexxy/gromacs.git] / src / gromacs / mdlib / tests / shake.cpp
index 50ef3e0fb2c70960603eb9dcb431c5eb491d6d4e..7f58294382fc033278734f35bfb22a0d68a67778 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014,2015,2017,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,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.
@@ -205,7 +205,7 @@ public:
                initialDisplacements,
                halfOfReducedMasses,
                omega_,
-               inverseMasses.data(),
+               inverseMasses,
                distanceSquaredTolerances,
                lagrangianValues,
                &numErrors);