We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b50d667 commit fd74c25Copy full SHA for fd74c25
examples/11-simo/simo/dev.py
@@ -18,7 +18,7 @@ def __init__(self,*args, **kwargs):
18
"""
19
20
def get_triangles(self):
21
- if self.triangles == None:
+ if not isinstance(self.triangles,np.ndarray):
22
ma=self.mesh_elements
23
ne=len(ma)
24
nt=4*ne
0 commit comments