Mercurial > repos > public > sbplib
diff +sbp/+implementations/d2_variable_4.m @ 341:43d02533bea3 feature/beams
Fixed error in boundary point check.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 04 Nov 2016 11:12:47 -0700 |
parents | f18142c1530b |
children | b758d1cf4c8e |
line wrap: on
line diff
--- a/+sbp/+implementations/d2_variable_4.m Mon Oct 31 16:25:46 2016 +0100 +++ b/+sbp/+implementations/d2_variable_4.m Fri Nov 04 11:12:47 2016 -0700 @@ -1,6 +1,6 @@ function [H, HI, D1, D2, e_l, e_r, d1_l, d1_r] = d2_variable_4(m,h) - BP = 4; + BP = 6; if(m<2*BP) error(['Operator requires at least ' num2str(2*BP) ' grid points']); end