Skip to content

Commit

Permalink
remove uncessary copy of large data (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard authored Nov 6, 2023
1 parent b139386 commit 2cb05ab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tedana/decay.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ def fit_decay(data, tes, mask, adaptive_mask, fittype, report=True):
f"mask ({mask.shape[0]}), and adaptive_mask ({adaptive_mask.shape[0]}) do not match"
)

data = data.copy()
if data.ndim == 2:
data = data[:, :, None]

Expand Down

0 comments on commit 2cb05ab

Please sign in to comment.