view assert_size.m @ 1261:a3f2c1781612 feature/poroelastic

Fix bug with incorrect grids returned by D1StaggeredUpwind
author Martin Almquist <malmquist@stanford.edu>
date Wed, 29 Apr 2020 21:02:05 -0700
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