tzurshubi commited on
Commit
58f4326
·
verified ·
1 Parent(s): b6b233e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -321,7 +321,7 @@ def make_figure(d: int,
321
  # ---------- neighbors of path vertices without the 2 ends ----------
322
  neighbor_set = set()
323
  if mark_distances and path and len(path)>2:
324
- for v in in_path[1:-2]:
325
  for bit in range(d):
326
  u = v ^ (1 << bit)
327
  if u not in in_path:
 
321
  # ---------- neighbors of path vertices without the 2 ends ----------
322
  neighbor_set = set()
323
  if mark_distances and path and len(path)>2:
324
+ for v in in_path[1:-1]:
325
  for bit in range(d):
326
  u = v ^ (1 << bit)
327
  if u not in in_path: