Cherry pick to 2.5: Merge branch 'feature/fix-staticcheck-subindex-codim' into 'master'
Fix codim for subIndex() method
For an entity e with codim=cc subIndex(e,i,codim) is only available for cc<=codim<=dim. Instead of checkoing for codim=0 we now check for all codims in this range.
This fixed an issue mentioned in #37.
See merge request !115 (merged)