mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Updating type check for centroids.
This commit is contained in:
parent
c54d3abf1c
commit
7bb93041d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue