Skip to content

Commit

Permalink
style: some style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCrane authored Mar 28, 2022
1 parent a3e4246 commit e11c5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manimlib/utils/space_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def is_in_fast(ring_a, ring_b):

chilren = [[] for i in rings]
for idx, i in enumerate(rings_sorted):
if len(rings_sorted) > 100 and (not idx%100 or idx+1==len(rings_sorted)):
if len(rings_sorted) > 100 and (idx%100 == 0 or idx+1 == len(rings_sorted)):
log.debug(f"SVG triangulation: {idx+1}/{len(rings_sorted)}")
for j in rings_sorted[:idx][::-1]:
if is_in_fast(i, j):
Expand Down

0 comments on commit e11c5de

Please sign in to comment.