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

Make spectral_mixture_kernel type stable for StaticArrays #500

Closed
wants to merge 12 commits into from

Conversation

theogf
Copy link
Member

@theogf theogf commented Apr 18, 2023

Fix #490 by changing the implementation (use intermediate vector representation) and checking that this works for StaticArrays.

Additionally add a note in the docs to suggest using StaticArrays to get a type stable constructor.

@theogf
Copy link
Member Author

theogf commented Apr 18, 2023

Ah I did not checkout from master...

@theogf theogf closed this Apr 18, 2023
Comment on lines +16 to +19
import Zygote
import ForwardDiff
import ReverseDiff
import FiniteDifferences
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
import Zygote
import ForwardDiff
import ReverseDiff
import FiniteDifferences
using Zygote: Zygote
using ForwardDiff: ForwardDiff
using ReverseDiff: ReverseDiff
using FiniteDifferences: FiniteDifferences

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spectral_mixture_kernel constructor is not type-stable
1 participant