Mercurial > repos > public > sbplib
view assertNumberOfArguments.m @ 1167:66c0fbbc406f feature/rv
Make constructDiffOps return a struct with the operators
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 28 Jun 2019 12:53:47 +0200 |
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