Skip to content

Commit e0316e2

Browse files
committed
Rename field
1 parent 2d4e0b1 commit e0316e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EasyGPs.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ A shorthand for `fit(object, (; x, y); kwargs...)` for when the only data is `x`
3939
fit(gp, x, y; kwargs...) = fit(gp, (; x, y); kwargs...)
4040

4141
struct Parameterized{T}
42-
thing::T
42+
object::T
4343
end
4444

4545
function (p::Parameterized)(θ)
46-
return apply_parameters(p.thing, ParameterHandling.value(θ))
46+
return apply_parameters(p.object, ParameterHandling.value(θ))
4747
end
4848

4949
"""

0 commit comments

Comments
 (0)