-
Notifications
You must be signed in to change notification settings - Fork 1
debug: remove .data
in KalmanFilter
matrix products
#189
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
Conversation
Some matrix products were computed on normal dense matrix with `M.data` instead of `Hermitian`. It was because of a bug in `LinearAlgebra` that created a dynamic dispatch. This bug is resolved now so it's no longer needed.
Amazing, thanks for the help! The example works on my computer now. |
P.s. the CI fails but everything pass locally on my side. I'm investigating on this. |
also decreases the tolerances since computation are more exact than before
The next release will incorporate this change. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #189 +/- ##
=======================================
Coverage 98.88% 98.88%
=======================================
Files 25 25
Lines 4205 4205
=======================================
Hits 4158 4158
Misses 47 47 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Some matrix products were computed on normal dense matrix using
M.data
instead ofM
, in whichM isa Hermitian
. It was because of a bug inLinearAlgebra
that produces a dynamic dispatch (JuliaLang/julia#53951). This bug is solved now so it's no longer needed.It's also not the best idea for the numerical stability since covariance matrices are
Hermitian
s, and the intermediate matrices in the computation should all be Hermitians also for the consistency.@1-Bart-1 This branch solve the
cholesky!
issue in your exemple on my computer. Give it a try.I did not try the Joseph form equation here since the
.data
was just bad for the numerical stability, and simply removing that solve the problem. After I merge these changes, If you have any other similar issue with a new piece of code, send it to me. I will try the Joseph form on it to see if it helps.related to #98