diff --git a/openmc/mesh.py b/openmc/mesh.py index ef6455b96a..54eba9a9db 100644 --- a/openmc/mesh.py +++ b/openmc/mesh.py @@ -846,5 +846,4 @@ class UnstructuredMesh(MeshBase): filename = get_text(elem, 'filename') library = get_text(elem, 'library') - mesh = cls(filename, library, mesh_id) - return mesh + return cls(filename, library, mesh_id)