view assert_size.m @ 1161:856bd6291d17 feature/rv

Use same order for both time derivative and flux term when computing the residual
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 25 Jun 2019 17:00:27 +0200
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