Commit e6b6ebd0 authored by Adam Mercer's avatar Adam Mercer
Browse files

Merge branch 'power-fix' into 'master'

power.py: fix small bug in group_coinc_parents

See merge request !306
parents 257caf20 4df9227f
Pipeline #23239 passed with stages
in 26 minutes and 16 seconds
......@@ -1432,7 +1432,7 @@ def group_coinc_parents(parents, offset_vectors, extentlimit = None, verbose = F
lo = segments.NegInfinity
else:
lo = extent[0]
if i >= len(extents) - 2 or extents[i + 1].disjoint(extent):
if i >= len(extents) - 1 or extents[i + 1].disjoint(extent):
hi = segments.PosInfinity
else:
hi = extent[1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment