Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logm issue #415

Closed
andreasnoack opened this issue Mar 27, 2017 · 4 comments · Fixed by JuliaLang/julia#21643
Closed

logm issue #415

andreasnoack opened this issue Mar 27, 2017 · 4 comments · Fixed by JuliaLang/julia#21643
Labels
bug Something isn't working

Comments

@andreasnoack
Copy link
Member

As reported by @iamnapo in #414

julia> B = [3 2; -5 -3]
2×2 Array{Int64,2}:
  3   2
 -5  -3

julia> expm(logm(B))
2×2 Array{Float64,2}:
 -5.33599  -5.66504
 17.5616   18.4572
@JeffBezanson JeffBezanson added bug Something isn't working linear algebra labels Mar 27, 2017
@YingboMa
Copy link

Also, Julia will hang in this situation.

julia> B = [1 -1; 1 -1]
2×2 Array{Int64,2}:
 1  -1
 1  -1

julia> logm(B)

The while loop in this line will never terminate.

https://github.com/JuliaLang/julia/blob/master/base/linalg/triangular.jl#L1698

@iamnapo
Copy link

iamnapo commented Mar 28, 2017

I'd like to work on this if anyone else isn't already. Are there any relevant commits/PRs I could look for help?

@andreasnoack
Copy link
Member Author

I know that @YingboMa looked a bit at this function yesterday. @YingboMa, are you already working on this?

@YingboMa
Copy link

Yes, I plan to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants