Skip to content

Commit

Permalink
Update lib.py
Browse files Browse the repository at this point in the history
  • Loading branch information
srush authored Jul 14, 2022
1 parent de23d88 commit db1a073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def table(name, r, c):
def myconnect(diagram, loc, color, con, name1, name2):
bb1 = diagram.get_subdiagram_envelope(name1)
bb2 = diagram.get_subdiagram_envelope(name2)
assert bb1 is not None, name1
assert bb2 is not None, name2
assert bb1 is not None, f"{name1}: You may be reading/writing from an un'synced array"
assert bb2 is not None, f"{name2}: You may be reading/writing from an un'synced array"
off = P2(loc[0] - 0.5, loc[1] - 0.5) * 0.85
dia = empty()
if con:
Expand Down

0 comments on commit db1a073

Please sign in to comment.