Improve AWH bias sharing documentation
[alexxy/gromacs.git] / src / gromacs / applied_forces / awh / tests / biassharing.cpp
index 70f75e41cba52d7d576d05288d028a5d44813ecb..c77a7a503f3640b7f179b342b895dc05efb56176 100644 (file)
@@ -101,7 +101,7 @@ void parallelTestFunction(const void gmx_unused* dummy)
     const std::array<int, c_numRanks> input{ 1, 2, 4, 8 };
     std::array<int, 1>                buffer{ input[myRank] };
 
-    biasSharing.sumOverMasterRanks(buffer, 0);
+    biasSharing.sumOverSharingMasterRanks(buffer, 0);
     int expectedSum = 0;
     for (int i = 0; i < c_numSharingBiases; i++)
     {