added type:ignore statement to broken line

This commit is contained in:
Daniel Otto de Mentock 2022-01-06 14:33:41 +01:00
parent 9a9ec11c29
commit 0a31ff0980
1 changed files with 1 additions and 1 deletions

View File

@ -952,7 +952,7 @@ class Rotation:
"""
rng: np.random.Generator = np.random.default_rng(rng_seed)
r = rng.random(3 if shape is None else tuple(shape)+(3,) if hasattr(shape, '__iter__') else (shape,3))
r = rng.random(3 if shape is None else tuple(shape)+(3,) if hasattr(shape, '__iter__') else (shape,3)) #type: ignore
A = np.sqrt(r[...,2])
B = np.sqrt(1.0-r[...,2])