Skip to content
Snippets Groups Projects
Commit 9c7428f7 authored by Daniel Bauer's avatar Daniel Bauer :speech_balloon:
Browse files

improve generation time: do not check table entries for constness

parent 0968cbff
No related branches found
No related tags found
1 merge request!28Improve generation time: do not check table entries for constness
Pipeline #68684 passed with warnings
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment