From 4383504551352543d605296f7b9c6d794300a81f Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Wed, 30 Nov 2016 11:38:08 +0300 Subject: [PATCH] Fix overflow count --- numass-storage/src/main/java/inr/numass/storage/NMPoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/numass-storage/src/main/java/inr/numass/storage/NMPoint.java b/numass-storage/src/main/java/inr/numass/storage/NMPoint.java index 519ee60c..5ed51e5f 100644 --- a/numass-storage/src/main/java/inr/numass/storage/NMPoint.java +++ b/numass-storage/src/main/java/inr/numass/storage/NMPoint.java @@ -138,12 +138,12 @@ public class NMPoint { } /** - * Events count - overflow + * Events count + overflow * * @return */ public long getEventsCount() { - return eventsCount - getOverflow(); + return eventsCount + getOverflow(); } public List getData(int binning, boolean normalize) {