Skip to content

Commit

Permalink
fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Sep 28, 2023
1 parent 73e9562 commit 52c333b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/core/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_dense_templates(self) -> np.ndarray:
return self.templates_array

densified_shape = (self.num_units, self.num_samples, self.num_channels)
dense_waveforms = np.zeros(dense=densified_shape, dtype=self.templates_array.dtype)
dense_waveforms = np.zeros(shape=densified_shape, dtype=self.templates_array.dtype)

for unit_index, unit_id in enumerate(self.unit_ids):
waveforms = self.templates_array[unit_index, ...]
Expand Down

0 comments on commit 52c333b

Please sign in to comment.