Merge "Merge release-5-0 into master"
[alexxy/gromacs.git] / src / gromacs / mdlib / domdec.c
index ff729dc0177ec79163792c682627261b989bd64b..08a80c667231018b85667760266a525cc1a58a2b 100644 (file)
@@ -9754,7 +9754,8 @@ void dd_partition_system(FILE                *fplog,
     if (vsite != NULL)
     {
         /* Now we have updated mdatoms, we can do the last vsite bookkeeping */
-        split_vsites_over_threads(top_local->idef.il, mdatoms, FALSE, vsite);
+        split_vsites_over_threads(top_local->idef.il, top_local->idef.iparams,
+                                  mdatoms, FALSE, vsite);
     }
 
     if (shellfc)