diff +time/Timestepper.m @ 704:111fcbcff2e9 feature/optim

merg with featuew grids
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 03 Nov 2017 10:53:15 +0100
parents 64a9a8a27858
children 8894e9c49e40
line wrap: on
line diff
--- a/+time/Timestepper.m	Fri Nov 03 10:43:27 2017 +0100
+++ b/+time/Timestepper.m	Fri Nov 03 10:53:15 2017 +0100
@@ -62,6 +62,7 @@
 
 
         function [v, t] = stepTo(obj, n, progress_bar)
+            assertScalar(n);
             default_arg('progress_bar',false);
 
             [v, t] = obj.stepN(n-obj.n, progress_bar);