From c6324cd91a20c4144eb09faaa8bcf2e43a55d8ea Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Mon, 26 Feb 2024 12:18:40 +0000 Subject: [PATCH] see https://github.com/SpiNNakerManchester/sPyNNaker/issues/1436 --- .../neural_projections/connectors/pool_dense_connector.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spynnaker/pyNN/models/neural_projections/connectors/pool_dense_connector.py b/spynnaker/pyNN/models/neural_projections/connectors/pool_dense_connector.py index 0ead054a31..adc021a83c 100644 --- a/spynnaker/pyNN/models/neural_projections/connectors/pool_dense_connector.py +++ b/spynnaker/pyNN/models/neural_projections/connectors/pool_dense_connector.py @@ -150,6 +150,8 @@ def __decode_weights( elif isinstance(self.__weights, RandomDistribution): n_weights = self.__get_n_weights( pre_shape, post_vertex_slice.n_atoms) + # pylint: disable=no-member + # see https://github.com/SpiNNakerManchester/sPyNNaker/issues/1436 return numpy.array(self.__weights.next(n_weights), dtype=float64) else: raise SynapticConfigurationException(