annotate assertSymbolic.m @ 1017:2d7c1333bd6c feature/advectionRV

Add support for using the ODE to approximate the time derivative in the residual
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 11 Dec 2018 16:29:21 +0100
parents e32c861141aa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
575
e32c861141aa Add assert function for symbolic bools
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
1 function assertSymbolic(s)
e32c861141aa Add assert function for symbolic bools
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
2 assert(logical(simplify(s)));
e32c861141aa Add assert function for symbolic bools
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
3 end