diff --git a/grudge/symbolic/dofdesc_inference.py b/grudge/symbolic/dofdesc_inference.py index 894a9bfc0e779e780b5da78e7a0aabb74cc925b2..6c0da95d76dc81e0610738b3ae5a8c4ca336b114 100644 --- a/grudge/symbolic/dofdesc_inference.py +++ b/grudge/symbolic/dofdesc_inference.py @@ -193,6 +193,9 @@ class DOFDescInferenceMapper(RecursiveMapper, CSECachingMapperMixin): self.function_registry[expr.function.name] .get_result_dofdesc(arg_dds)) + def map_common_subexpression_uncached(self, expr): + return self.rec(expr.child) + # }}} # {{{ instruction mappings