Skip to content

Commit

Permalink
Update mne/source_estimate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Dec 21, 2023
1 parent d78b121 commit c3d0075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/source_estimate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,7 @@ def save_as_surface(self, fname, src, *, scale=1, scale_rr=1e3):
data = getattr(self, f"{hemi}_data") * scale
ts = [
nib.gifti.gifti.GiftiDataArray(
data=data[:, idx],
data=data[:, idx].astype(np.float32),
intent="NIFTI_INTENT_POINTSET",
datatype="NIFTI_TYPE_FLOAT32",
)
Expand Down

0 comments on commit c3d0075

Please sign in to comment.