Skip to content
Snippets Groups Projects
Commit 748442b4 authored by Timo Koch's avatar Timo Koch
Browse files

Update extendedsourcestencil.hh

parent fd2f3396
No related branches found
No related tags found
1 merge request!2200[bugfix][embedded] Fix index constants
......@@ -169,7 +169,7 @@ private:
template<std::size_t id>
const auto& extendedSourceStencil_(const CouplingManager& couplingManager, Dune::index_constant<id> domainId, const Element<id>& element) const
{
if constexpr (id == bulkIdx())
if constexpr (domainId == bulkIdx)
{
const auto bulkElementIdx = couplingManager.problem(bulkIdx).gridGeometry().elementMapper().index(element);
if (sourceStencils_.count(bulkElementIdx))
......
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