view assert_size.m @ 833:9f4c45a2d271 feature/burgers1d

Support narrow stencil operators of order 6
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 11 Sep 2018 16:29:00 +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