Fix clang-format
authorArtem Zhmurov <zhmurov@gmail.com>
Wed, 19 May 2021 15:46:59 +0000 (18:46 +0300)
committerAndrey Alekseenko <al42and@gmail.com>
Wed, 19 May 2021 16:27:02 +0000 (16:27 +0000)
Introduced in e3aaab14bcc05164ad6c82ac28d7dd1af99bd576

src/gromacs/mdlib/coupling.cpp
src/gromacs/mdrun/md.cpp

index ef2a5c5048f4c284468d6b2718f381c513fb6096..fb92b1e5568cb85cef1a751b51377f9ce6e10ccb 100644 (file)
@@ -881,8 +881,8 @@ void calculateScalingMatrixImplDetail<PressureCoupling::Berendsen>(const t_input
                                                                    real              dt,
                                                                    const matrix      pres,
                                                                    const matrix      box,
-                                                                   real    scalar_pressure,
-                                                                   real    xy_pressure,
+                                                                   real scalar_pressure,
+                                                                   real xy_pressure,
                                                                    int64_t gmx_unused step)
 {
     real p_corr_z = 0;
index ed1f08b7912ffb8d9ceb965cd0a007b087592c79..909fb5f065b5e36abdc0afd8cde85b9fdf82f41e 100644 (file)
@@ -364,8 +364,8 @@ void gmx::LegacySimulator::do_md()
 
     ForceBuffers     f(fr->useMts,
                    ((useGpuForNonbonded && useGpuForBufferOps) || useGpuForUpdate)
-                           ? PinningPolicy::PinnedIfSupported
-                           : PinningPolicy::CannotBePinned);
+                               ? PinningPolicy::PinnedIfSupported
+                               : PinningPolicy::CannotBePinned);
     const t_mdatoms* md = mdAtoms->mdatoms();
     if (DOMAINDECOMP(cr))
     {
@@ -1298,7 +1298,7 @@ void gmx::LegacySimulator::do_md()
                                               state->v.rvec_array(),
                                               md->homenr,
                                               md->cTC ? gmx::arrayRefFromArray(md->cTC, md->nr)
-                                                      : gmx::ArrayRef<const unsigned short>());
+                                                                      : gmx::ArrayRef<const unsigned short>());
             /* history is maintained in state->dfhist, but state_global is what is sent to trajectory and log output */
             if (MASTER(cr))
             {