diff +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
line wrap: on
line diff
--- a/+grid/evalOn.m	Fri Oct 20 18:43:26 2017 +0200
+++ b/+grid/evalOn.m	Fri Oct 20 18:55:02 2017 +0200
@@ -17,8 +17,6 @@
     % func should now be a function_handle
 
     if g.D ~= nargin(func)
-        g.D
-        nargin(func)
         error('grid:evalOn:WrongNumberOfInputs', 'The number of inputs of the function must match the dimension of the domain.')
     end