Mercurial > repos > public > sbplib
view assertScalar.m @ 826:b94bb6ffa38b feature/operator_files
rename d2_2 to D1_standard_2
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Mon, 10 Sep 2018 17:48:48 +0200 |
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