changeset 256:87504db14c6d operator_remake

Bug fix in D2.m, added 12th order.
author Martin Almquist <martin.almquist@it.uu.se>
date Wed, 07 Sep 2016 16:41:31 +0200
parents df3cc9c5dffc
children 5714fda0db85
files +sbp/D2.m
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r df3cc9c5dffc -r 87504db14c6d +sbp/D2.m
--- a/+sbp/D2.m	Wed Sep 07 15:54:41 2016 +0200
+++ b/+sbp/D2.m	Wed Sep 07 16:41:31 2016 +0200
@@ -26,6 +26,9 @@
             elseif order == 10
                 [H, HI, D1, D2, e_1, e_m, M, Q, S_1, S_m] = sbp.ordinary10(m,h);
                 obj.borrowing.M.S = 0.0351;
+            elseif order == 12
+                [H, HI, D1, D2, e_1, e_m, M, Q, S_1, S_m] = sbp.ordinary12(m,h);
+                obj.borrowing.M.S = []; % Need to compute!
             else
                 error('Invalid operator order %d.',order);
             end