Mercurial > repos > public > sbplib
annotate assert_size.m @ 1037:2d7ba44340d0 feature/burgers1d
Pass scheme specific parameters as cell array. This will enabale constructDiffOps to be more general. In addition, allow for schemes returning function handles as diffOps, which is currently how non-linear schemes such as Burgers1d are implemented.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 18 Jan 2019 09:02:02 +0100 |
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 |