Skip to content
Snippets Groups Projects
Commit a5fd4901 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

Merge branch 'bugfix/subindex-has-wrong-signature' into 'master'

Fix subIndex signature to the dune-grid requirements

See merge request !34
parents eaa06736 41f6c857
No related branches found
No related tags found
1 merge request!34Fix subIndex signature to the dune-grid requirements
Pipeline #45817 passed
......@@ -72,9 +72,9 @@ public:
return _mdIndexSet.template index<Entity::codimension>(_grid.domain(),_grid.multiDomainEntity(e));
}
template<int codim, typename Entity>
IndexType subIndex(const Entity& e, int i) const {
return _mdIndexSet.subIndex(_grid.domain(),_grid.multiDomainEntity(e),i,codim);
template<int cc, typename Entity>
IndexType subIndex(const Entity& e, int i, unsigned int codim) const {
return _mdIndexSet.template subIndex<cc>(_grid.domain(),_grid.multiDomainEntity(e),i,codim);
}
template<typename Entity>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment