Mercurial > repos > public > sbplib
diff +scheme/Elastic2dVariable.m @ 1293:3e2c1df740df feature/poroelastic
Merge heads.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 29 Jun 2020 15:26:36 -0700 |
parents | 70939ea9a71f |
children | 60c875c18de3 |
line wrap: on
line diff
--- a/+scheme/Elastic2dVariable.m Mon Jun 29 15:24:21 2020 -0700 +++ b/+scheme/Elastic2dVariable.m Mon Jun 29 15:26:36 2020 -0700 @@ -198,8 +198,8 @@ % D2 for i = 1:dim - obj.D2_lambda{i} = sparse(m_tot); - obj.D2_mu{i} = sparse(m_tot); + obj.D2_lambda{i} = sparse(m_tot, m_tot); + obj.D2_mu{i} = sparse(m_tot, m_tot); end ind = grid.funcToMatrix(g, 1:m_tot);