view assert_size.m @ 1057:ff274c7404cc feature/poroelastic

In Elastic2dVariable: copy-paste from feature/getBoundaryOp and fix bugs introduced there.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 25 Jan 2019 15:52:21 -0800
parents afd20f023928
children
line wrap: on
line source

% Assert that array A has the size s.
function assert_size(A,s)
    warning('Use assertSize() instead!')
    assertSize(A,s);
end