Skip to content

Commit 2fe2000

Browse files
committed
Add custom show function
1 parent 77c1be0 commit 2fe2000

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/kernels/gabor.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ function Base.getproperty(k::GaborKernel, v::Symbol)
5151
end
5252
end
5353

54+
Base.show(io::IO, κ::GaborKernel) = print(io, "Gabor Kernel (ell = $(κ.ell), p = $(κ.p))")
55+
5456
kappa::GaborKernel, x, y) = kappa.kernel, x ,y)
5557

5658
function kernelmatrix(

0 commit comments

Comments
 (0)