Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check free indices after calling fem.compile_ufl (#241)
Add asserts that we get the free indices we expect after calling fem.compile_ufl. This is based on the understanding that GEM can optimise away unnecessary free indices early, e.g. when interpolating an expression which has no spatial variation (a ufl Constant).
- Loading branch information