From 7bb93041d323f749c0f7178631a15ebdc8e3db94 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Thu, 26 Mar 2020 15:59:09 -0500 Subject: [PATCH] Updating type check for centroids. --- openmc/mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):