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 f02ce5b commit 23acc52Copy full SHA for 23acc52
src/generic.jl
@@ -11,7 +11,7 @@ _scale(t::ScaleTransform, metric::Euclidean, x, y) = first(t.s) * evaluate(metr
11
_scale(t::ScaleTransform, metric::Union{SqEuclidean,DotProduct}, x, y) = first(t.s)^2 * evaluate(metric, x, y)
12
_scale(t::ScaleTransform, metric, x, y) = evaluate(metric, apply(t, x), apply(t, y))
13
14
-printshifted(io::IO, o, shift::Int) = print(io, "$o")
+printshifted(io::IO, o, shift::Int) = print(io, o)
15
Base.show(io::IO, κ::Kernel) = print(io, nameof(typeof(κ)))
16
17
### Syntactic sugar for creating matrices and using kernel functions
0 commit comments