# HG changeset patch # User Juan Pablo Carbajal # Date 1461266004 -7200 # Node ID 46ce9eb019a675769015ae21cba39ec5aeac849b # Parent bb4a05cb4a0257b9e1cf3e3ac368d072bd5cd4d3 Fix bug when tspan is a column vector (bug #47756). * integrate_adaptive.m: Index into t, rather than tspan, so that orientation does not matter. diff -r bb4a05cb4a02 -r 46ce9eb019a6 scripts/ode/private/integrate_adaptive.m --- a/scripts/ode/private/integrate_adaptive.m Wed Jul 13 18:17:11 2016 +1000 +++ b/scripts/ode/private/integrate_adaptive.m Thu Apr 21 21:13:24 2016 +0200 @@ -151,7 +151,7 @@ iout = max (t_caught); x(:, t_caught) = ... runge_kutta_interpolate (order, [t_old t_new], [x_old x_new], - tspan(t_caught), new_k_vals, dt, func, + t(t_caught), new_k_vals, dt, func, options.funarguments); istep += 1;