Fix master not compiling
authorBerk Hess <hess@kth.se>
Thu, 12 Sep 2019 10:03:49 +0000 (12:03 +0200)
committerBerk Hess <hess@kth.se>
Thu, 12 Sep 2019 10:03:49 +0000 (12:03 +0200)
A fast-forward merge broke compilation of tpi.cpp.

Change-Id: I067042a6e02b272e7503ae3f876418dc0a114b91

src/gromacs/mdrun/tpi.cpp

index 3afadf161f6a34883af86f22fbca8070bbd0277f..46c73da8d6372bb7578a3b6b147a1d90850e497b 100644 (file)
@@ -725,8 +725,7 @@ LegacySimulator::do_tpi()
             }
 
             /* Note: NonLocal refers to the inserted molecule */
-            fr->nbv->setCoordinates(Nbnxm::AtomLocality::NonLocal, false,
-                                    x, BufferOpsUseGpu::False, nullptr);
+            fr->nbv->convertCoordinates(Nbnxm::AtomLocality::NonLocal, false, x);
 
             /* Clear some matrix variables  */
             clear_mat(force_vir);