Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
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
Model registry
Operate
Environments
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
pycodegen
pystencils
Merge requests
!380
Fix symbol canonicalization to not duplicate when marking as updated
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix symbol canonicalization to not duplicate when marking as updated
fhennig/fix_canonicalize
into
backend-rework
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Frederik Hennig
requested to merge
fhennig/fix_canonicalize
into
backend-rework
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Compare
backend-rework
backend-rework (base)
and
latest version
latest version
0845d667
1 commit,
1 year ago
2 files
+
29
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/pystencils/backend/transformations/canonicalize_symbols.py
+
1
−
1
Options
@@ -33,7 +33,7 @@ class CanonContext:
return
replacement
def
mark_as_updated
(
self
,
symb
:
PsSymbol
):
self
.
updated_symbols
.
add
(
self
.
deduplicate
(
symb
)
)
self
.
updated_symbols
.
add
(
symb
)
def
is_live
(
self
,
symb
:
PsSymbol
)
->
bool
:
return
symb
in
self
.
live_symbols_map
Loading