Mercurial > repos > public > sbplib
view assertScalar.m @ 1219:505333c37473 feature/d2_compatible
Close branch feature/d2_compatible
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 13 Nov 2019 23:36:19 +0000 |
parents | 6490b5f950fb |
children |
line wrap: on
line source
function assertScalar(obj) if ~isscalar(obj) error('sbplib:assertScalar:notScalar', '"%s" must be scalar, found size "%s"', inputname(1), toString(size(obj))); end end