Skip to content

Commit

Permalink
small linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elvinhajizada committed Jul 12, 2023
1 parent 12b4b4f commit bde4fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lava/proc/clp/prototype_lif/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bde4fa9

Please sign in to comment.