Change some domdec data members to RVec or IVec
[alexxy/gromacs.git] / src / gromacs / mdlib / constr.cpp
index eccc21f1f07ba174969b664840d449d0fa5ff7e7..984c901e62508918eb4eeb85429c1594e2365ec1 100644 (file)
@@ -431,7 +431,7 @@ bool Constraints::Impl::apply(bool               bLog,
          * by the constraint coordinate communication routine,
          * so that here we can use normal pbc.
          */
-        pbc_null = set_pbc_dd(&pbc, ir.ePBC, DOMAINDECOMP(cr) ? cr->dd->nc : nullptr, FALSE, box);
+        pbc_null = set_pbc_dd(&pbc, ir.ePBC, DOMAINDECOMP(cr) ? cr->dd->numCells : nullptr, FALSE, box);
     }
     else
     {