Mercurial > repos > public > sbplib
view assertNumberOfArguments.m @ 1086:90c23fd08f59 feature/laplace_curvilinear_test
Make LaplaceCurvilinearNew the default version and remove the others
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Fri, 29 Mar 2019 14:41:36 -0700 |
parents | 2dee6c9e827d |
children |
line wrap: on
line source
function assertNumberOfArguments(fun, N) if nargin(fun) ~= N error('sbplib:assertNumberOfArguments:wrongNumberOfArguments', '"%s" must have %d, found %d', inputname(1), N, nargin(fun)); end end