Skip to content

Commit

Permalink
fix: surrogate parametric type should be typeof kind
Browse files Browse the repository at this point in the history
  • Loading branch information
fjebaker committed May 20, 2024
1 parent 9c46cb2 commit 76fa5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta-models/surrogate-models.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function SurrogateSpectralModel(
params::TupleT,
params_symbols::Tuple,
) where {TupleT <: NTuple{N,T}} where {N,T}
SurrogateSpectralModel{T,K,N,typeof(surrogate),params_symbols}(surrogate, params)
SurrogateSpectralModel{T,typeof(K),N,typeof(surrogate),params_symbols}(surrogate, params)
end

closurekind(::Type{<:SurrogateSpectralModel}) = WithClosures()
Expand Down

0 comments on commit 76fa5cf

Please sign in to comment.