Skip to content
Snippets Groups Projects
Commit 3d3f0a71 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Do not collect necessary stage 1 collection before discarding integral for trivial conditionals

parent 01ffdaa5
No related branches found
No related tags found
No related merge requests found
......@@ -381,9 +381,6 @@ def generate_accumulation_instruction(expr, visitor):
test_info = visitor.test_info
trial_info = visitor.trial_info
# Cache all stage 1 sum factorization kernels used in this expression
SumfactCollectMapper()(expr)
# Number of basis functions per direction
leaf_element = test_info.element
from ufl import MixedElement
......@@ -405,6 +402,9 @@ def generate_accumulation_instruction(expr, visitor):
if False in predicates:
return
# Cache all stage 1 sum factorization kernels used in this expression
SumfactCollectMapper()(expr)
insn_dep = None
from dune.perftool.pdelab.localoperator import determine_accumulation_space
......
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