Mercurial > repos > public > sbplib
comparison +time/CdiffImplicit.m @ 393:67ca8964f03c feature/beams
Fix index error in CdiffImplicit.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 23 Jan 2017 20:26:49 +0100 |
parents | 45c69aff2f41 |
children | d5bce13ece23 |
comparison
equal
deleted
inserted
replaced
392:30ff8879162e | 393:67ca8964f03c |
---|---|
38 if isempty(G) | 38 if isempty(G) |
39 G = @(t) sparse(m,1); | 39 G = @(t) sparse(m,1); |
40 end | 40 end |
41 | 41 |
42 if isempty(f1) | 42 if isempty(f1) |
43 f1 = sparse(m,m); | 43 f1 = sparse(m,1); |
44 end | 44 end |
45 | 45 |
46 if isempty(f2) | 46 if isempty(f2) |
47 f2 = sparse(m,m); | 47 f2 = sparse(m,1); |
48 end | 48 end |
49 | 49 |
50 obj.A = A; | 50 obj.A = A; |
51 obj.B = B; | 51 obj.B = B; |
52 obj.C = C; | 52 obj.C = C; |