diff scripts/ode/private/integrate_const.m @ 20639:a260a6acb70f

fix test failures introduced by a22d8a2eb0e5 * scripts/ode/private/integrate_adaptive.m: fix stepping backwards, fix invocation of OutputFcn, fix text of some error messages * scripts/ode/private/integrate_const.m: remove use of option OutputSave * scripts/ode/private/integrate_n_steps.m: remove use of option OutputSave
author Carlo de Falco <carlo.defalco@polimi.it>
date Sun, 11 Oct 2015 23:09:01 +0200
parents b7ac1e94266e
children
line wrap: on
line diff
--- a/scripts/ode/private/integrate_const.m	Sun Oct 11 13:13:33 2015 +0200
+++ b/scripts/ode/private/integrate_const.m	Sun Oct 11 23:09:01 2015 +0200
@@ -180,11 +180,10 @@
       endwhile
     endif
 
-    if (mod (solution.vcntloop-1, options.OutputSave) == 0)
-      x = [x,u(:,2:end)];
-      t = [t;z(2:end)];
-      solution.vcntsave = solution.vcntsave + 1;    
-    endif
+
+    x = [x,u(:,2:end)];
+    t = [t;z(2:end)];
+    solution.vcntsave = solution.vcntsave + 1;
     solution.vcntloop = solution.vcntloop + 1;
     vcntiter = 0;