From 025d87ce174a735c3beb16c728bf644e470b50c8 Mon Sep 17 00:00:00 2001 From: Johannes Schumann <johannes.schumann@fau.de> Date: Mon, 20 Jan 2020 17:53:01 +0100 Subject: [PATCH] typo in bit shift method --- km3io/daq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/km3io/daq.py b/km3io/daq.py index be62469..b3ec322 100644 --- a/km3io/daq.py +++ b/km3io/daq.py @@ -62,7 +62,7 @@ def get_udp_max_sequence_number(value): def has_udp_trailer(value): """Returns the UDP Trailer flag (fifo)""" - return np.any(np.bitwise_and(value, np.leftshift(1, 31))) + return np.any(np.bitwise_and(value, np.left_shift(1, 31))) class DAQReader: -- GitLab