Mercurial > repos > public > sbplib
view assertScalar.m @ 967:368a2773f78b feature/poroelastic
Fix bug in Elastic2dVariable that resulted in using tuning^2
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sun, 23 Dec 2018 14:06:26 +0100 |
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