dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
384 stars 126 forks source link

Handle linalg error in gauss2sigma with Cholesky decomposition #992

Closed sdhiscocks closed 2 months ago

sdhiscocks commented 2 months ago

In cases where linalg error is produced, fall back to cholesky_eps designed for nearly positive-definite matrix, producing a user warning when this occurs.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.55%. Comparing base (9ae6ba8) to head (159067d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #992 +/- ## ========================================== + Coverage 93.52% 93.55% +0.03% ========================================== Files 202 202 Lines 12957 12962 +5 Branches 2644 2644 ========================================== + Hits 12118 12127 +9 + Misses 594 592 -2 + Partials 245 243 -2 ``` | [Flag](https://app.codecov.io/gh/dstl/Stone-Soup/pull/992/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/dstl/Stone-Soup/pull/992/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `66.29% <50.00%> (+0.02%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/dstl/Stone-Soup/pull/992/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `89.16% <100.00%> (+0.03%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.