From ce3450ba77e8da8e2872a68f789043ad1ae55c6b Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Fri, 28 Jul 2017 14:54:32 +0200 Subject: [PATCH] Keep jacobian_inames as a tuple The old Python2 vs. Python3 problem: non-deterministic hash produces the best bugs!!! --- python/dune/perftool/sumfact/symbolic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/dune/perftool/sumfact/symbolic.py b/python/dune/perftool/sumfact/symbolic.py index 08448735..288374da 100644 --- a/python/dune/perftool/sumfact/symbolic.py +++ b/python/dune/perftool/sumfact/symbolic.py @@ -184,10 +184,10 @@ class SumfactKernel(SumfactKernelBase, ImmutableRecord, prim.Variable): @property def within_inames(self): if self.trial_element is None: - return frozenset() + return () else: from dune.perftool.sumfact.basis import lfs_inames - return frozenset(lfs_inames(self.trial_element, self.restriction)) + return lfs_inames(self.trial_element, self.restriction) def vec_index(self, sf): """ Map an unvectorized sumfact kernel object to its position -- GitLab