Mercurial > repos > public > sbplib
comparison +grid/evalOn.m @ 623:190941ec12d8 feature/grids
Print cleaning of evalOn and evalOnTest
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 20 Oct 2017 18:55:02 +0200 |
parents | 0813d700a816 |
children | 0e20f4c9a94e |
comparison
equal
deleted
inserted
replaced
622:0813d700a816 | 623:190941ec12d8 |
---|---|
15 return | 15 return |
16 end | 16 end |
17 % func should now be a function_handle | 17 % func should now be a function_handle |
18 | 18 |
19 if g.D ~= nargin(func) | 19 if g.D ~= nargin(func) |
20 g.D | |
21 nargin(func) | |
22 error('grid:evalOn:WrongNumberOfInputs', 'The number of inputs of the function must match the dimension of the domain.') | 20 error('grid:evalOn:WrongNumberOfInputs', 'The number of inputs of the function must match the dimension of the domain.') |
23 end | 21 end |
24 | 22 |
25 | 23 |
26 % Get coordinates | 24 % Get coordinates |