Skip to content

Commit

Permalink
Merge pull request #69 from ithron/fix68_saveinr_single
Browse files Browse the repository at this point in the history
Fix #68 - saveinr() not working for single volumes.
  • Loading branch information
fangq authored Nov 10, 2022
2 parents d87d60c + 8b4725a commit e3ff264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saveinr.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function saveinr(vol,fname)
btype='unsigned fixed';
dtype='uint16';
bitlen=16;
elseif(strcmp(dtype,'float'))
elseif(strcmp(dtype,'single'))
btype='float';
dtype='float';
bitlen=32;
Expand Down

0 comments on commit e3ff264

Please sign in to comment.