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

`GaussianStateUpdate` is not an isinstance of `StateUpdate` #942

Open gawebb-dstl opened 5 months ago

gawebb-dstl commented 5 months ago
>>> isinstance(GaussianStateUpdate([1],[[1]], None), StateUpdate)
False

This isn't intuitive (to me at least). In the above code StateUpdate can quite easily be replaced by Update.

This isn't a big issue but I wonder if StateUpdate is required. It's only usage within the ‘main’ branch is for tests. However it may be used in other branches or repositories.