Skip to content

Commit cc9e9b0

Browse files
committed
another numpy fix
1 parent eb07eea commit cc9e9b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spikeinterface/postprocessing/tests/test_principal_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_get_projections(self, sparse):
101101

102102
random_spikes_ext = sorting_analyzer.get_extension("random_spikes")
103103
random_spikes_indices = random_spikes_ext.get_data()
104-
unit_ids_num_random_spikes = np.sum(random_spikes_ext.params["max_spikes_per_unit"] for _ in some_unit_ids)
104+
unit_ids_num_random_spikes = sum(random_spikes_ext.params["max_spikes_per_unit"] for _ in some_unit_ids)
105105

106106
# this should be all spikes all channels
107107
some_projections, spike_unit_index = ext.get_some_projections(channel_ids=None, unit_ids=None)

0 commit comments

Comments
 (0)