--- trunk/src/applications/staticProps/SpatialStatistics.cpp 2013/06/18 17:47:37 1886 +++ trunk/src/applications/staticProps/SpatialStatistics.cpp 2013/06/18 17:48:52 1887 @@ -328,6 +328,7 @@ namespace OpenMD { void SlabStatistics::processFrame(int istep) { RealType z; + hmat_ = currentSnapshot_->getHmat(); for (int i = 0; i < nBins_; i++) { z = (((RealType)i + 0.5) / (RealType)nBins_) * hmat_(2,2);