Fixed bugs in vsiteN with OpenMP
[alexxy/gromacs.git] / src / mdlib / domdec.c
index d4be717774d7271c457367b076ee3c9746f0854d..ac8627bb57e48a190706c46496df47c5410b3ede 100644 (file)
@@ -9808,7 +9808,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)