Mercurial > repos > public > sbplib
changeset 345:7b5ef8b89268 feature/beams
Rungekutta bug fixes.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 16 Nov 2016 15:39:16 -0800 |
parents | 61b75d6d4899 |
children | 33b2ef863519 |
files | +time/Rungekutta4SecondOrder.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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