Mercurial > repos > public > sbplib
view assertNumberOfArguments.m @ 1149:1fe48cbd379a feature/rv
Change Burgers2d to inviscid formulation. Rewrite to use opSets and fix the implementation of the Dirichlet conditions.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 24 Jan 2019 09:05:44 +0100 |
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