Skip to content

Commit

Permalink
Needs out-of-place mul
Browse files Browse the repository at this point in the history
  • Loading branch information
cwindolf committed Jul 1, 2024
1 parent f8b638e commit 790011a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/generation/drift_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def get_traces(

wf = template[start_template:end_template]
if self.amplitude_vector is not None:
wf *= self.amplitude_vector[i]
wf = wf * self.amplitude_vector[i]
traces[start_traces:end_traces] += wf.astype(self.dtype, copy=False)

return traces.astype(self.dtype)
Expand Down

0 comments on commit 790011a

Please sign in to comment.