From 6a91c2855e325b913ac9a62a36dc0bb90e11ac2b Mon Sep 17 00:00:00 2001 From: Daniel Otto de Mentock Date: Thu, 8 Feb 2024 14:23:44 +0100 Subject: [PATCH] not needed --- python/damask/mechanics.py | 2 -- 1 file changed, 2 deletions(-) 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