diff +time/Timestepper.m @ 707:0de70ec8bf60 feature/quantumTriangles

merge with feature/optim
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 10 Nov 2017 14:22:56 +0100
parents 64a9a8a27858
children 8894e9c49e40
line wrap: on
line diff
--- a/+time/Timestepper.m	Thu Oct 05 18:04:23 2017 +0200
+++ b/+time/Timestepper.m	Fri Nov 10 14:22:56 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);