Skip to content

Division by zero in SO3.to_quat() #23

@JohnKJung

Description

@JohnKJung

When the SO(3) element, C, is given as

C = [
1, 0, 0,
0, -1, 0,
0, 0, -1
]

and use SO3.to_quat(C), the division by zero error is raised in line 256 due to

eta = 0.5 * (np.trace(C) + 1) ** 0.5

being zero.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions