-
Notifications
You must be signed in to change notification settings - Fork 33
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
Investigate nondeterministic behavior #486
Labels
external 📤
Related to external packages
Comments
Narrowing it down: julia> em = ExponentialMap(SparseMatrixExp(SparseMatrixCSC([2.0 0.0; 0.0 1.0])),
BallInf([1., 1.], 1.));
julia> d = [1., 0.];
julia> σ(d, em)
2-element Array{Float64,1}:
14.7781
5.43656
julia> σ(d, em)
2-element Array{Float64,1}:
NaN
5.43656 |
The problem is in julia> using Expokit
julia> t = 1.; A = SparseMatrixCSC([2.0 0.0; 0.0 1.0]); vec = [2., 2.];
julia> for i in 1:10
println(expmv(t, A, vec))
end
[14.7781, 5.43656]
[14.7781, 5.43656]
[14.7781, 5.43656]
[14.7781, 5.43656]
[14.7781, 5.43656]
[14.7781, 5.43656]
[14.7781, 5.43656]
[NaN, 5.43656]
[14.7781, 5.43656]
[14.7781, 5.43656] |
julia> using Expokit
julia> t = 1.; A = SparseMatrixCSC([2.0 0.0; 0.0 1.0]); v = [2., 2.];
julia> P = [expmv(t, A, v) for i in 1:10^4];
julia> any([isnan(Pi[1]) for Pi in P])
false |
In the |
good! i can ask. |
schillic
added
external 📤
Related to external packages
and removed
wontfix 🔕
This will not be worked on
labels
Aug 7, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This nondeterministically results in either
or
The text was updated successfully, but these errors were encountered: