Merge remote-tracking branch 'origin/release-2021' into master
[alexxy/gromacs.git] / src / gromacs / ewald / pme_gpu_internal.cpp
index e9998c803e78c142d439703f7520510f2f44b38c..185fea7de3420607514eb54726087591e39f63a2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017,2018,2019,2020, by the GROMACS development team.
+ * Copyright (c) 2016,2017,2018,2019,2020 by the GROMACS development team.
  * Copyright (c) 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
@@ -1223,6 +1223,7 @@ static auto selectSpreadKernelPtr(const PmeGpu*  pmeGpu,
             {
                 kernelPtr = pmeGpu->programHandle_->impl_->spreadKernelThPerAtom4Dual;
             }
+            else
             {
                 kernelPtr = pmeGpu->programHandle_->impl_->spreadKernelThPerAtom4Single;
             }