changeset 257:5714fda0db85 operator_remake

Bug fix 12th order 2nd der.
author Martin Almquist <martin.almquist@it.uu.se>
date Wed, 07 Sep 2016 16:46:20 +0200
parents 87504db14c6d
children a8d89688ba01
files +sbp/ordinary12.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/+sbp/ordinary12.m	Wed Sep 07 16:41:31 2016 +0200
+++ b/+sbp/ordinary12.m	Wed Sep 07 16:46:20 2016 +0200
@@ -282,7 +282,7 @@
 e_m(end)= 1;
 
 S_1 = (e_1'*D1)';
-S_m = (e_m'*D1);
+S_m = (e_m'*D1)';
 
 Q = H*D1-(-e_1*e_1' + e_m*e_m');
 M = -(H*D2-(-e_1*S_1' + e_m*S_m'));