Replace FramesToCompare enum by MaxNumFrames
[alexxy/gromacs.git] / src / programs / mdrun / tests / simulatorcomparison.cpp
index 64a841f16eb175c6292a6b22b9386c61d927fcf1..c832d5ab9f1c267b42b413d6ccc6c0082084fac0 100644 (file)
@@ -90,7 +90,7 @@ void compareEnergies(const std::string&          edr1Name,
 {
     // Build the functor that will compare energy frames on the chosen
     // energy terms.
-    EnergyComparison energyComparison(energyTermsToCompare, FramesToCompare::AllFrames);
+    EnergyComparison energyComparison(energyTermsToCompare, MaxNumFrames::compareAllFrames());
 
     // Build the manager that will present matching pairs of frames to compare.
     //