Make AWH parameters proper C++
[alexxy/gromacs.git] / src / gromacs / applied_forces / awh / histogramsize.cpp
index 059d8cc6de81988dd9fd446472f5e9b055de71ce..15d1ace4ba3ea2c2c1760c6d44bdf204e3e431d5 100644 (file)
@@ -67,8 +67,8 @@ namespace gmx
 HistogramSize::HistogramSize(const AwhBiasParams& awhBiasParams, double histogramSizeInitial) :
     numUpdates_(0),
     histogramSize_(histogramSizeInitial),
-    inInitialStage_(awhBiasParams.eGrowth == AwhHistogramGrowthType::ExponentialLinear),
-    equilibrateHistogram_(awhBiasParams.equilibrateHistogram),
+    inInitialStage_(awhBiasParams.growthType() == AwhHistogramGrowthType::ExponentialLinear),
+    equilibrateHistogram_(awhBiasParams.equilibrateHistogram()),
     logScaledSampleWeight_(0),
     maxLogScaledSampleWeight_(0),
     havePrintedAboutCovering_(false)