mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-05 03:55:58 +01:00
Fix off by one
This commit is contained in:
parent
6c841fda7c
commit
008f1b22ef
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class Path(
|
|||
}
|
||||
|
||||
var cyclic = root.fingerprint == certification.target.fingerprint
|
||||
for (i in 0..edges.size) {
|
||||
for (i in 0 until edges.size) {
|
||||
val edge = edges[i]
|
||||
if (cyclic) {
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue