changeset 1051:84200bbae101 feature/getBoundaryOp

Bugfix: add missing brackets in getBoundaryQuadrature in LaplCurv and Utux2d
author Martin Almquist <malmquist@stanford.edu>
date Tue, 22 Jan 2019 12:50:06 -0800
parents 19d821ddc108
children cb4bfd0d81ea
files +scheme/LaplaceCurvilinear.m +scheme/Utux2d.m
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/+scheme/LaplaceCurvilinear.m	Tue Jan 22 11:27:30 2019 -0800
+++ b/+scheme/LaplaceCurvilinear.m	Tue Jan 22 12:50:06 2019 -0800
@@ -417,7 +417,7 @@
         function H_b = getBoundaryQuadrature(obj, boundary)
             assertIsMember(boundary, {'w', 'e', 's', 'n'})
 
-            H_b = obj.('H_', boundary);
+            H_b = obj.(['H_', boundary]);
         end
 
         % Returns the indices of the boundary points in the grid matrix
--- a/+scheme/Utux2d.m	Tue Jan 22 11:27:30 2019 -0800
+++ b/+scheme/Utux2d.m	Tue Jan 22 12:50:06 2019 -0800
@@ -294,7 +294,7 @@
         function H_b = getBoundaryQuadrature(obj, boundary)
             assertIsMember(boundary, {'w', 'e', 's', 'n'})
 
-            H_b = obj.('H_', boundary);
+            H_b = obj.(['H_', boundary]);
         end
 
         function N = size(obj)