view assert_size.m @ 1050:19d821ddc108 feature/getBoundaryOp

Fix mistakes in adbb80e60b10
author Martin Almquist <malmquist@stanford.edu>
date Tue, 22 Jan 2019 11:27:30 -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