From 66a5238d0d606f5aa8c187f6f697de21614b5bac Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Mon, 11 Feb 2019 16:50:52 +0100
Subject: [PATCH] [bugfix] Fix vectorization with modified quadrature tuple

The unstructured stuff changed the implementation of the parallel key
to depend on the quadrature tuple. This means that we need to make sure
that the state of the quadrature tuple is correctly all the time!
---
 python/dune/codegen/sumfact/vectorization.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/python/dune/codegen/sumfact/vectorization.py b/python/dune/codegen/sumfact/vectorization.py
index e753652b..5788cbe8 100644
--- a/python/dune/codegen/sumfact/vectorization.py
+++ b/python/dune/codegen/sumfact/vectorization.py
@@ -367,6 +367,8 @@ def level1_optimal_vectorization_strategy(sumfacts, width):
 
 
 def level2_optimal_vectorization_strategy(sumfacts, width, qp):
+    set_quadrature_points(qp)
+
     # Find the sets of simultaneously realizable kernels
     keys = frozenset(sf.parallel_key for sf in sumfacts)
 
-- 
GitLab