Closed vandenman closed 9 months ago
If you think this is a reasonable solution, I'd be happy to contribute a PR!
Yes, please make the PR!
Thanks for finding the issue. This has happened a few times when I've added parameters to a type and forgotten about some of the "downstream" types that contain it.
Here is a MWE:
returns
A call to @profview shows that the lines highlighted in red are type unstable:
Perhaps the fields of
AutoCov
should be fully typed? For example,although I haven't tested this. If you think this is a reasonable solution, I'd be happy to contribute a PR!