mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Use arr.all() instead of np.all(arr)
This commit is contained in:
parent
596aea3bf5
commit
4c39c1abd6
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ class VMobject(Mobject):
|
|||
if self.has_fill():
|
||||
tri1 = mobject1.get_triangulation()
|
||||
tri2 = mobject2.get_triangulation()
|
||||
if len(tri1) != len(tri1) or not np.all(tri1 == tri2):
|
||||
if len(tri1) != len(tri1) or not (tri1 == tri2).all():
|
||||
self.refresh_triangulation()
|
||||
return self
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue