biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix histogram resampling output bin positions
[alexxy/gromacs.git]
/
src
/
gromacs
/
analysisdata
/
modules
/
histogram.cpp
diff --git
a/src/gromacs/analysisdata/modules/histogram.cpp
b/src/gromacs/analysisdata/modules/histogram.cpp
index fd6727ff91aa53d4fec623f54db339cde280a4e9..d9e3501f41cd0feb5f790575b24bc8420125739f 100644
(file)
--- 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(
AverageHistogramPointer dest(
new StaticAverageHistogram(
- histogramFromBins(
xstart
(), nbins, 2*xstep())
+ histogramFromBins(
settings().firstEdge
(), nbins, 2*xstep())
.integerBins(bIntegerBins)));
dest->setColumnCount(columnCount());
dest->allocateValues();
.integerBins(bIntegerBins)));
dest->setColumnCount(columnCount());
dest->allocateValues();