Skip to content

Fix variable assignment with empty tuple#120

Merged
scopplestone merged 1 commit intomainfrom
bugfix.fem.connect.edges.empty.tuple
Mar 26, 2026
Merged

Fix variable assignment with empty tuple#120
scopplestone merged 1 commit intomainfrom
bugfix.fem.connect.edges.empty.tuple

Conversation

@scopplestone
Copy link
Copy Markdown
Collaborator

Fix error "UnboundLocalError: cannot access local variable '' where it is not associated with a value" when trying to use "variable = [] ..."

…it is not associated with a value" when trying to use "variable = [_] ..."
@scopplestone scopplestone requested a review from kopperp March 25, 2026 19:51
@github-actions
Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2987 2686 90% 85% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
pyhope/mesh/fem/fem.py 99% 🟢
TOTAL 99% 🟢

updated for commit: 75d5b7b by action🐍

@scopplestone scopplestone marked this pull request as ready for review March 26, 2026 08:12
@scopplestone scopplestone merged commit 62d2ba9 into main Mar 26, 2026
13 checks passed
@scopplestone scopplestone deleted the bugfix.fem.connect.edges.empty.tuple branch March 26, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants