Commit edb5f12
authored
Fix: Indent code to ensure 'j' is within for-loop in GQRS algorithm (#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).1 file changed
+14
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1230 | 1230 | | |
1231 | 1231 | | |
1232 | 1232 | | |
1233 | | - | |
1234 | | - | |
1235 | | - | |
1236 | | - | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1247 | 1247 | | |
1248 | 1248 | | |
1249 | 1249 | | |
| |||
0 commit comments