Skip to content

Commit

Permalink
minor change to fix the computed joint matrix profile
Browse files Browse the repository at this point in the history
  • Loading branch information
NimaSarajpoor committed Jul 26, 2024
1 parent c5cc377 commit 5e056d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stumpy/gpu_ostinato.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ def gpu_ostinato(Ts, m, device_id=0, normalize=True, p=2.0, Ts_subseq_isconstant
M_Ts = [None] * len(Ts)
Σ_Ts = [None] * len(Ts)
for i, T in enumerate(Ts):
Ts_copy[i], M_Ts[i], Σ_Ts[i], Ts_subseq_isconstant[i] = core.preprocess(
_, M_Ts[i], Σ_Ts[i], Ts_subseq_isconstant[i] = core.preprocess(
T, m, copy=True, T_subseq_isconstant=Ts_subseq_isconstant[i]
)
Ts_copy[i] = T.copy()

bsf_radius, bsf_Ts_idx, bsf_subseq_idx = _ostinato(
Ts_copy,
Expand Down

0 comments on commit 5e056d3

Please sign in to comment.