mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-09-28 18:49:56 +02:00
Fix off by one
This commit is contained in:
parent
77495a172b
commit
a4ef1e9b57
|
@ -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