Mercurial > repos > public > sbplib
changeset 723:87436a107d8a feature/grids
Fix bug in bcSetup for inhom conditions
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 20 Mar 2018 14:43:04 +0100 |
parents | 89e14a85a2d0 |
children | 94bd0f3293c8 14f0058356f2 |
files | +scheme/bcSetup.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/+scheme/bcSetup.m Mon Mar 19 17:12:08 2018 +0100 +++ b/+scheme/bcSetup.m Tue Mar 20 14:43:04 2018 +0100 @@ -22,7 +22,7 @@ [localClosure, penalty] = diffOp.boundary_condition(bc{i}.boundary, bc{i}.type); closure = closure + localClosure; - if ~isfield(bc,'data') || isempty(bc{i}.data) + if ~isfield(bc{i},'data') || isempty(bc{i}.data) continue end assertType(bc{i}.data, 'function_handle');