From bde4fa9071f480d5893c45f20a67e7518ac199bc Mon Sep 17 00:00:00 2001 From: Elvin Hajizada Date: Wed, 12 Jul 2023 21:29:03 +0200 Subject: [PATCH] small linting fix --- tests/lava/proc/clp/prototype_lif/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lava/proc/clp/prototype_lif/test_models.py b/tests/lava/proc/clp/prototype_lif/test_models.py index ca0719846..8a5366418 100644 --- a/tests/lava/proc/clp/prototype_lif/test_models.py +++ b/tests/lava/proc/clp/prototype_lif/test_models.py @@ -186,7 +186,7 @@ def test_neuron_vars_reset_when_reset_spike_received(self): inp_pattern = np.array([[0.6, 0.8], [0.8, 0.6]]) # Normalize the input pattern inp_pattern = inp_pattern / np.expand_dims(np.linalg.norm( - inp_pattern, axis=1), axis=1) + inp_pattern, axis=1), axis=1) # Convert this to 8-bit fixed-point pattern inp_pattern = (inp_pattern * 2 ** b_fraction).astype(np.int32) # and inject it at the t=3