Mercurial > repos > public > sbplib
diff +grid/Cartesian.m @ 747:c3e89f9b2af7 feature/grids
Fix bug that fail tests and correct a typo
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 11 Apr 2018 09:14:54 +0200 |
parents | 3da69d57e684 |
children | 0ef96fcdc028 |
line wrap: on
line diff
--- a/+grid/Cartesian.m Wed Mar 28 12:51:05 2018 +0200 +++ b/+grid/Cartesian.m Wed Apr 11 09:14:54 2018 +0200 @@ -15,7 +15,7 @@ obj.d = length(varargin); for i = 1:obj.d - assert(isvector(varargin{i}), 'Coordinate inputs must be a vectors.') + assert(isnumeric(varargin{i}), 'Coordinate inputs must be vectors.') obj.x{i} = varargin{i}; obj.m(i) = length(varargin{i});