Mercurial > repos > public > sbplib
view assertType.m @ 831:d0934d1143b7 feature/burgers1d
Fix bug in initialization of differential operators
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 11 Sep 2018 13:24:08 +0200 |
parents | e9e3973456c0 |
children | 75f9b7a80f28 |
line wrap: on
line source
function assertType(obj, type) if ~isa(obj, type) error('sbplib:assertType:wrongType', '"%s" must have type "%s", found "%s"', inputname(1), type, class(obj)); end end