Skip to content

Commit

Permalink
ENH: use uniform datatype for NIML
Browse files Browse the repository at this point in the history
  • Loading branch information
nno committed Jul 5, 2016
1 parent 5345129 commit 61c8a04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_surficial_io_niml_dset.m
Expand Up @@ -135,11 +135,11 @@ function assert_dataset_equal(x,y)
switch lower(format)
case 'ascii'
data_pat=[repmat(['%.6f' col_sep],1,nrows) row_sep];
bucket_data=sprintf(data_pat,data);
bucket_data=uint8(sprintf(data_pat,data));

node_pat=['%d' row_sep];
node_data=uint8(sprintf(node_pat,nodes_base0));
ni_form=uint8([]);
ni_form='';

case {'binary','binary.lsbfirst','binary.msbfirst'};
data_single=single(data(:)');
Expand Down

0 comments on commit 61c8a04

Please sign in to comment.