diff --git a/openmc/mesh.py b/openmc/mesh.py index da00750c10..8078869889 100644 --- a/openmc/mesh.py +++ b/openmc/mesh.py @@ -1096,7 +1096,7 @@ class CylindricalMesh(StructuredMesh): @origin.setter def origin(self, coords): - cv.check_type('mesh r_grid', coords, Iterable, Real) + cv.check_type('mesh origin', coords, Iterable, Real) self._origin = np.asarray(coords) @r_grid.setter @@ -1418,7 +1418,7 @@ class SphericalMesh(StructuredMesh): @origin.setter def origin(self, coords): - cv.check_type('mesh r_grid', coords, Iterable, Real) + cv.check_type('mesh origin', coords, Iterable, Real) self._origin = np.asarray(coords) @r_grid.setter