We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5224b1d commit 8e3f065Copy full SHA for 8e3f065
src/kernels/constant.jl
@@ -24,6 +24,7 @@ Kernel function working as an equivalent to add white noise.
24
struct WhiteKernel <: BaseKernel end
25
26
const EyeKernel = WhiteKernel
27
+export EyeKernel
28
29
kappa(κ::WhiteKernel,δₓₓ::Real) = δₓₓ
30
test/test_kernels.jl
@@ -16,6 +16,7 @@ x = rand()*2; v1 = rand(3); v2 = rand(3); id = IdentityTransform()
16
@test eltype(k) == Any
17
@test kappa(k,1.0) == 1.0
18
@test kappa(k,0.0) == 0.0
19
+ @test EyeKernel == WhiteKernel
20
end
21
@testset "ConstantKernel" begin
22
c = 2.0
0 commit comments