mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-16 17:32:06 +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
|
var cyclic = root.fingerprint == certification.target.fingerprint
|
||||||
for (i in 0..edges.size) {
|
for (i in 0 until edges.size) {
|
||||||
val edge = edges[i]
|
val edge = edges[i]
|
||||||
if (cyclic) {
|
if (cyclic) {
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue