TuringLang / SSMProblems.jl

Common abstractions for state-space models
http://turinglang.org/SSMProblems.jl/
MIT License
2 stars 2 forks source link

Split method definitions to avoid docstring overwriting #42

Closed THargreaves closed 1 month ago

THargreaves commented 1 month ago

Solves #40.

This should also get rid of the possible method call errors.

The change also had the benefit of allowing the default simulate/log density definitions to be combined with the interface definitions.

THargreaves commented 1 month ago

Also worth noting that I noticed some inconsistency in whether state or step came first in the parameters for when transitioning/observing. Since the inclusion of step is the key thing that distinguishes initialisation from transitioning, I've put it first. Happy to flip them if people think state first is more sensible.