Mercurial > repos > public > sbplib
annotate assert_size.m @ 835:008496ca38f3 feature/burgers1d
Compute the residual in between each runge-kutta stage.
Note: It is not clear whether the correct residual is used when computing the stages. Must investigate further.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 13 Sep 2018 18:14:54 +0200 |
parents | afd20f023928 |
children |
rev | line source |
---|---|
0 | 1 % Assert that array A has the size s. |
2 function assert_size(A,s) | |
766
afd20f023928
Rename assert_size to assertSize
Jonatan Werpers <jonatan@werpers.com>
parents:
0
diff
changeset
|
3 warning('Use assertSize() instead!') |
afd20f023928
Rename assert_size to assertSize
Jonatan Werpers <jonatan@werpers.com>
parents:
0
diff
changeset
|
4 assertSize(A,s); |
0 | 5 end |