Skip to content

Commit

Permalink
Update catd mean to float64
Browse files Browse the repository at this point in the history
To aid in merging #22, where we've collapsed the xyz dimensions into an S dimension. Tracing back on a numpy core bug with large arrays: numpy/numpy#8869 (comment)
  • Loading branch information
emdupre authored May 10, 2018
1 parent 7560f59 commit 074b03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tedana/interfaces/tedana.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def fitmodels_direct(catd, mmix, mask, t2s, t2sG, tes, combmode, head,
nx, ny, nz, _, n_components = betas.shape
n_voxels = mask.sum()
n_data_voxels = (t2s != 0).sum()
mu = catd.mean(axis=-1)
mu = catd.mean(axis=-1, dtype=float)
tes = np.reshape(tes, (n_echoes, 1))
fmin, fmid, fmax = getfbounds(n_echoes)

Expand Down

0 comments on commit 074b03c

Please sign in to comment.