From 9c7428f7cd872639040f2cf373f5ccda80e85701 Mon Sep 17 00:00:00 2001 From: Daniel Bauer <daniel.j.bauer@fau.de> Date: Mon, 26 Aug 2024 16:21:45 +0200 Subject: [PATCH] improve generation time: do not check table entries for constness --- hog/quadrature/tabulation.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/hog/quadrature/tabulation.py b/hog/quadrature/tabulation.py index cae9b41..c336f93 100644 --- a/hog/quadrature/tabulation.py +++ b/hog/quadrature/tabulation.py @@ -66,9 +66,6 @@ class Tabulation: if not isinstance(factor, sp.MatrixBase): factor = sp.Matrix([factor]) - if all(f.is_constant() for f in factor): - return factor - replacement_symbols = sp.zeros(factor.rows, factor.cols) for r in range(factor.rows): for c in range(factor.cols): -- GitLab