Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hyteg
hog
Commits
9c7428f7
Commit
9c7428f7
authored
9 months ago
by
Daniel Bauer
Browse files
Options
Downloads
Patches
Plain Diff
improve generation time: do not check table entries for constness
parent
0968cbff
No related branches found
No related tags found
1 merge request
!28
Improve generation time: do not check table entries for constness
Pipeline
#68684
passed with warnings
9 months ago
Stage: test
Stage: integration
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hog/quadrature/tabulation.py
+0
-3
0 additions, 3 deletions
hog/quadrature/tabulation.py
with
0 additions
and
3 deletions
hog/quadrature/tabulation.py
+
0
−
3
View file @
9c7428f7
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment