diff +scheme/LaplaceCurvilinear.m @ 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 6bc55a773e7c
children 5ec23b9bf360 d1dad4fbfe22
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