X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fanalysisdata%2Fmodules%2Fhistogram.cpp;h=d9e3501f41cd0feb5f790575b24bc8420125739f;hb=4c23d613a90b6aab7d2abf73e11a4a0c43d35c7c;hp=fd6727ff91aa53d4fec623f54db339cde280a4e9;hpb=5139f5a42feb555194c9101b3f419401e0235b49;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/analysisdata/modules/histogram.cpp b/src/gromacs/analysisdata/modules/histogram.cpp index fd6727ff91..d9e3501f41 100644 --- a/src/gromacs/analysisdata/modules/histogram.cpp +++ b/src/gromacs/analysisdata/modules/histogram.cpp @@ -286,7 +286,7 @@ AbstractAverageHistogram::resampleDoubleBinWidth(bool bIntegerBins) const AverageHistogramPointer dest( new StaticAverageHistogram( - histogramFromBins(xstart(), nbins, 2*xstep()) + histogramFromBins(settings().firstEdge(), nbins, 2*xstep()) .integerBins(bIntegerBins))); dest->setColumnCount(columnCount()); dest->allocateValues();