Updating type check for centroids.

This commit is contained in:
Patrick Shriwise 2020-03-26 15:59:09 -05:00
parent c54d3abf1c
commit 7bb93041d3

View file

@ -655,7 +655,7 @@ class UnstructuredMesh(MeshBase):
@centroids.setter
def centroids(self, centroids):
cv.check_type("Unstructured mesh centroids", centroids,
Iterable, Iterable)
Iterable, Real)
self._centroids = centroids
def __repr__(self):