view assert_size.m @ 1120:7963a9cab637 feature/poroelastic

In RungeKuttaDiscreteData, make K and U non-sparse to improve performance by roughly a factor of 3.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 07 May 2019 11:41:15 -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