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 #501

Merged
merged 3 commits into from
Apr 18, 2023

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.

Replaces #500

@codecov
Copy link

codecov bot commented Apr 18, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (8746034) 94.25% compared to head (4181350) 94.25%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #501   +/-   ##
=======================================
  Coverage   94.25%   94.25%           
=======================================
  Files          52       52           
  Lines        1374     1375    +1     
=======================================
+ Hits         1295     1296    +1     
  Misses         79       79           
Impacted Files Coverage Δ
src/basekernels/sm.jl 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@willtebbutt willtebbutt left a comment

Choose a reason for hiding this comment

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

Quick comment

Project.toml Outdated Show resolved Hide resolved
@theogf theogf merged commit 9da7bfd into master Apr 18, 2023
@theogf theogf deleted the tgf/stable-sm branch April 18, 2023 19:15
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
2 participants