Potentially erring paths in matrix logarithms #54703
Labels
domain:linear algebra
Linear algebra
kind:bug
Indicates an unexpected problem or unintended behavior
Should the comparison be using the real part of the complex number? Perhaps someone familiar with this part of the code could comment on this.
Also,
atan
isn't defined for this combination, and I wonder if this should be called for the real part again?Unfortunately, I haven't been able to come up with examples of matrices that hit these code paths, but it would be good to fix these.
The text was updated successfully, but these errors were encountered: