diff +noname/benchmark.m @ 115:1fe783681f9f

noname.benchmark: added deafult value to do_profile.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 14 Dec 2015 19:07:36 +0100
parents f121bf58c1b9
children
line wrap: on
line diff
--- a/+noname/benchmark.m	Mon Dec 14 18:57:02 2015 +0100
+++ b/+noname/benchmark.m	Mon Dec 14 19:07:36 2015 +0100
@@ -7,6 +7,7 @@
 function hand = benchmark(discretization,N ,time_method,do_profile)
     default_arg('N',100);
     default_arg('time_method',[]);
+    default_arg('do_profile',true);
 
     fprintf('Creating time discretization');
     tic