Mercurial > repos > public > sbplib
view assertScalar.m @ 1083:a22b23098021 feature/laplace1dUpdate
Divide interface penalty strength by 4, to make it sharp. Stability verified by eigenvalue computations.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 05 Mar 2019 12:41:50 -0800 |
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