diff --git a/python/damask/mechanics.py b/python/damask/mechanics.py index 620f07105..acfea8664 100644 --- a/python/damask/mechanics.py +++ b/python/damask/mechanics.py @@ -334,8 +334,6 @@ def _polar_decomposition(T: _np.ndarray, Requested components of the singular value decomposition. """ - if isinstance(requested, str): requested = [requested] - u, _, vh = _np.linalg.svd(T) R = u @ vh