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