Skip to content

Commit

Permalink
Rename field
Browse files Browse the repository at this point in the history
  • Loading branch information
simsurace committed Mar 9, 2024
1 parent 2d4e0b1 commit e0316e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EasyGPs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ A shorthand for `fit(object, (; x, y); kwargs...)` for when the only data is `x`
fit(gp, x, y; kwargs...) = fit(gp, (; x, y); kwargs...)

struct Parameterized{T}
thing::T
object::T
end

function (p::Parameterized)(θ)
return apply_parameters(p.thing, ParameterHandling.value(θ))
return apply_parameters(p.object, ParameterHandling.value(θ))
end

"""
Expand Down

0 comments on commit e0316e2

Please sign in to comment.