check_subexpressions function

(Shortest import: from brian2.equations.equations import check_subexpressions)

brian2.equations.equations.check_subexpressions(group, equations, run_namespace)[source]

Checks the subexpressions in the equations and raises an error if a subexpression refers to stateful functions without being marked as “constant over dt”.