Mercurial > repos > public > sbplib
diff +blockmatrix/toMatrix.m @ 425:e56dbd9e4196 feature/grids
Merge feature/beams
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 07 Feb 2017 16:09:02 +0100 |
parents | 46aa0b6a10cd |
children | c14875cf7ae6 |
line wrap: on
line diff
--- a/+blockmatrix/toMatrix.m Tue Feb 07 15:47:51 2017 +0100 +++ b/+blockmatrix/toMatrix.m Tue Feb 07 16:09:02 2017 +0100 @@ -20,6 +20,7 @@ if isempty(bm{i,j}) continue end + % TODO: If this ever fails for large matrices. Try cell2mat instead. A(n_ind(i)+1:n_ind(i+1),m_ind(j)+1:m_ind(j+1)) = bm{i,j}; end end