Fix for the recent nightly failure
authorArtem Zhmurov <zhmurov@gmail.com>
Tue, 8 Oct 2019 05:24:51 +0000 (07:24 +0200)
committerMagnus Lundborg <magnus.lundborg@scilifelab.se>
Tue, 8 Oct 2019 07:06:22 +0000 (09:06 +0200)
The cont qualifier in the function declaration produced a warning
that caused the nightly to fail. This fixes the issue, introduced
by 77857c5.

Change-Id: Icef063107a5f66d841f1d110dc9f9fb807364ed2

src/gromacs/mdtypes/state_propagator_data_gpu_impl.h

index 16aead662a809c097ae04014741780de5d406435..0b73395af8939a4e8d50bbe409be8aab77cb9d2d 100644 (file)
@@ -267,7 +267,7 @@ class StatePropagatorDataGpu::Impl
          *  \param[in]  commandStream  GPU stream to execute copy in.
          */
         void copyToDevice(DeviceBuffer<float>                   d_data,
-                          const gmx::ArrayRef<const gmx::RVec>  h_data,
+                          gmx::ArrayRef<const gmx::RVec>        h_data,
                           int                                   dataSize,
                           AtomLocality                          atomLocality,
                           CommandStream                         commandStream);