From 329c354d68832872b9c814da347111f934d222eb Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Tue, 17 Dec 2024 08:37:40 +0000 Subject: [PATCH] typing fixes --- .../reverse_ip_tag_multicast_source_machine_vertex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spinn_front_end_common/utility_models/reverse_ip_tag_multicast_source_machine_vertex.py b/spinn_front_end_common/utility_models/reverse_ip_tag_multicast_source_machine_vertex.py index d727f80bf..0f81970c2 100644 --- a/spinn_front_end_common/utility_models/reverse_ip_tag_multicast_source_machine_vertex.py +++ b/spinn_front_end_common/utility_models/reverse_ip_tag_multicast_source_machine_vertex.py @@ -255,12 +255,12 @@ def _max_send_buffer_keys_per_timestep( counts = numpy.bincount( numpy.concatenate(send_buffer_times).astype("int")) if len(counts): - return max(counts) + return int(numpy.max(counts)) return 0 if len(send_buffer_times): counts = numpy.bincount(send_buffer_times) if len(counts): - return n_keys * max(counts) + return n_keys * int(numpy.max(counts)) return 0 return 0