Skip to content

Commit

Permalink
Table: allow empty column/row names at creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dlegland committed Feb 9, 2021
1 parent 2dab014 commit 625a898
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions matStats/@Table/Table.m
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@
end
obj.ColNames = varargin{1};
varargin(1) = [];
elseif isempty(var1)
% propagate empty column names
varargin(1) = [];
end
end

Expand All @@ -432,6 +435,9 @@
end
obj.RowNames = var1;
varargin(1) = [];
elseif isempty(var1)
% propagate empty row names
varargin(1) = [];
end
end

Expand Down

0 comments on commit 625a898

Please sign in to comment.