Skip to content

Commit

Permalink
fix invalid jdatadecode example
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Oct 24, 2019
1 parent 398539d commit 82c9e91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Contents.m
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@
% structure; otherwise, the same as the input.
%
% examples:
% obj=struct('_ArrayType_','double','_ArraySize_',[2 3],...
% '_ArrayIsSparse_',1 ,'_ArrayData_',null);
% jdata=jdatadecode(obj);
% obj={[],{'test'},true,struct('sparse',sparse(2,3),'magic',uint8(magic(5)))}
% jdata=jdatadecode(jdataencode(obj))
% isequaln(obj,jdata)
%
% license:
% BSD or GPL version 3, see LICENSE_{BSD,GPLv3}.txt files for details
Expand Down
6 changes: 3 additions & 3 deletions jdatadecode.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
% structure; otherwise, the same as the input.
%
% examples:
% obj=struct('_ArrayType_','double','_ArraySize_',[2 3],...
% '_ArrayIsSparse_',1 ,'_ArrayData_',null);
% jdata=jdatadecode(obj);
% obj={[],{'test'},true,struct('sparse',sparse(2,3),'magic',uint8(magic(5)))}
% jdata=jdatadecode(jdataencode(obj))
% isequaln(obj,jdata)
%
% license:
% BSD or GPL version 3, see LICENSE_{BSD,GPLv3}.txt files for details
Expand Down

0 comments on commit 82c9e91

Please sign in to comment.