Mercurial > repos > public > sbplib
diff +time/Rungekutta4SecondOrder.m @ 345:7b5ef8b89268 feature/beams
Rungekutta bug fixes.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 16 Nov 2016 15:39:16 -0800 |
parents | e7e73173d44d |
children | ae905a11e32c |
line wrap: on
line diff
--- a/+time/Rungekutta4SecondOrder.m Mon Nov 14 14:54:53 2016 -0800 +++ b/+time/Rungekutta4SecondOrder.m Wed Nov 16 15:39:16 2016 -0800 @@ -34,10 +34,10 @@ if ~isa(D, 'function_handle') D = @(t)D; end - if ~isa(D, 'function_handle') + if ~isa(E, 'function_handle') E = @(t)E; end - if ~isa(D, 'function_handle') + if ~isa(S, 'function_handle') S = @(t)S; end