Unverified Commit a6013e63 authored by myhloli's avatar myhloli Committed by GitHub

Merge pull request #107 from icecraft/fix/update_connect_caption_rule

fix: udpate caption connect rule
parents 0ff071de f238a708
......@@ -301,8 +301,10 @@ class MagicModel:
or k in used
or k in seen
or dis[j][k] == MAX_DIS_OF_POINT
or dis[j][k] > dis[i][j]
):
continue
is_nearest = True
for l in range(i + 1, N):
if l in (j, k) or l in used or l in seen:
......
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