Skip to content
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

get covariance breaks if argument is indexed using sequence not key #105

Open
mikofski opened this issue Apr 3, 2017 · 0 comments
Open
Labels

Comments

@mikofski
Copy link
Member

mikofski commented Apr 3, 2017

If an argument is indexed from the registry using a sequence instead of a key, then get_covariance() fails. EG: If there's a dynamic calculation, then when you need to get the covariance of a different timestep then the registry index will not be a key, but a sequence with a key and an index. But get_covariance() just calls .get(<key>, 0.0) so this fails.

@mikofski mikofski added the bug label Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant