From 0394721c2f8e0178aadd5d88a0008ffe2af1e550 Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Fri, 17 Jan 2020 11:23:07 +0100
Subject: [PATCH] Typo

---
 km3io/daq.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/km3io/daq.py b/km3io/daq.py
index bdeff6a..38230f7 100644
--- a/km3io/daq.py
+++ b/km3io/daq.py
@@ -29,7 +29,7 @@ def get_rate(value):
 
 def get_number_udp_packets(value):
     """Return the number of received UDP packets based on the dq_status value"""
-    return np.bitwise_and(value & 0x7FFF)
+    return np.bitwise_and(value, 0x7FFF)
 
 def has_udp_trailer(value):
     """Returns the UDP Trailer flag based on on the fifo field value"""
-- 
GitLab