Skip to content

Conversation

@Biboulder
Copy link

@Biboulder Biboulder commented Jun 6, 2024

The variable j was not properly scoped within the for-loop in the sm method, leading to an UnboundLocalError when j was accessed outside the loop.

@tompollard
Copy link
Member

@Biboulder Thanks for picking this up! Please could you rebase the pull request on the main branch, and if possible add a simple test that covers the UnboundLocalError?

@tompollard
Copy link
Member

I rebased on main and opened a new PR: #499

@tompollard tompollard closed this Jul 9, 2024
tompollard added a commit that referenced this pull request Jul 10, 2024
…499) As discussed in #489: > "The variable j was not properly scoped within the for-loop in the sm method, leading to an UnboundLocalError when j was accessed outside the loop." #489 needs rebasing on the main branch to allow tests to run. This pull request is just a cherry-pick of the commit in #489, on top of the current version of main (I can't push to the other branch directly, because its on a forked repo).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants