Mercurial > repos > public > sbplib
changeset 546:19951684588e feature/grids
Add type assertion
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 23 Aug 2017 11:05:35 +0200 |
parents | dfb27a7e801f |
children | 3da69d57e684 |
files | +multiblock/Line.m |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
diff -r dfb27a7e801f -r 19951684588e +multiblock/Line.m --- a/+multiblock/Line.m Mon Aug 21 11:20:20 2017 +0200 +++ b/+multiblock/Line.m Wed Aug 23 11:05:35 2017 +0200 @@ -8,6 +8,7 @@ methods function obj = Line(g, gf) + assertType(g, 'multiblock.Grid') obj.grid = g; X = obj.grid.splitFunc(obj.grid.points());