diff --git a/openmc/mesh.py b/openmc/mesh.py index 4bde4a52ae..dc48e1ca0f 100644 --- a/openmc/mesh.py +++ b/openmc/mesh.py @@ -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):