comparison +time/Timestepper.m @ 13:b18d3d201a71

Fixed initialization of step counter in timesteppers.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Sep 2015 08:41:28 +0200
parents 5205251db8c3
children f7975c054bc3
comparison
equal deleted inserted replaced
12:c71095442c57 13:b18d3d201a71
11 end 11 end
12 12
13 13
14 methods 14 methods
15 function [v,t] = stepN(obj,n,progress_bar) 15 function [v,t] = stepN(obj,n,progress_bar)
16 default_arg('progress_bar',false);
16 17
17 if progress_bar && n > 1500 18 if progress_bar && n > 1500
18 n1000 = floor(n/1000); 19 n1000 = floor(n/1000);
19 20
20 s = util.replace_string('',' %d %%',0); 21 s = util.replace_string('',' %d %%',0);