Finish removing t_mdatoms from update module
[alexxy/gromacs.git] / src / gromacs / mdlib / tests / leapfrogtestrunners.cpp
index 0db80fc685970f4340c463c7d46926a087e33c79..5badaad2725b988524ab51f93864d8dfa4a01b95 100644 (file)
@@ -87,8 +87,12 @@ void LeapFrogHostTestRunner::integrate(LeapFrogTestData* testData, int numSteps)
                 etrtNONE,
                 nullptr,
                 false);
-        testData->update_->finish_update(
-                testData->inputRecord_, &testData->mdAtoms_, &testData->state_, nullptr, false);
+        testData->update_->finish_update(testData->inputRecord_,
+                                         testData->mdAtoms_.havePartiallyFrozenAtoms,
+                                         testData->mdAtoms_.homenr,
+                                         &testData->state_,
+                                         nullptr,
+                                         false);
     }
     const auto xp = makeArrayRef(*testData->update_->xp()).subArray(0, testData->numAtoms_);
     for (int i = 0; i < testData->numAtoms_; i++)