Mercurial > repos > public > sbplib
diff +scheme/bcSetup.m @ 777:0776fa4754ff feature/grids grids0.1
Switch to assertSize from assert_size
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 23 Jul 2018 09:33:26 -0700 |
parents | 1de60c4d462d |
children | c02b6d03c77c |
line wrap: on
line diff
--- a/+scheme/bcSetup.m Mon Jul 23 09:32:56 2018 -0700 +++ b/+scheme/bcSetup.m Mon Jul 23 09:33:26 2018 -0700 @@ -43,7 +43,7 @@ if nargin(bc{i}.data) == 1 % Grid data boundarySize = [size(diffOp.grid.getBoundary(bc{i}.boundary),1),1]; - assert_size(bc{i}.data(0), boundarySize); % Eval for t = 0 and make sure the function returns a grid vector of the correct size. + assertSize(bc{i}.data(0), boundarySize); % Eval for t = 0 and make sure the function returns a grid vector of the correct size. gridDataPenalties{end+1} = penalty; gridDataFunctions{end+1} = bc{i}.data; elseif nargin(bc{i}.data) == 1+dim