view assert_size.m @ 917:878652b22157 feature/timesteppers

Make time.rk.rungekutta return stage approximations and stage rates in addition to the solution after one time step.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 26 Nov 2018 16:12:27 -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