comparison +scheme/Utux2d.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 adbb80e60b10
children 433c89bf19e0
comparison
equal deleted inserted replaced
1050:19d821ddc108 1051:84200bbae101
292 % 292 %
293 % boundary -- string 293 % boundary -- string
294 function H_b = getBoundaryQuadrature(obj, boundary) 294 function H_b = getBoundaryQuadrature(obj, boundary)
295 assertIsMember(boundary, {'w', 'e', 's', 'n'}) 295 assertIsMember(boundary, {'w', 'e', 's', 'n'})
296 296
297 H_b = obj.('H_', boundary); 297 H_b = obj.(['H_', boundary]);
298 end 298 end
299 299
300 function N = size(obj) 300 function N = size(obj)
301 N = obj.m; 301 N = obj.m;
302 end 302 end