Skip to content

Commit 23acc52

Browse files
theogfdevmotion
andauthored
Update src/generic.jl
Co-Authored-By: David Widmann <[email protected]>
1 parent f02ce5b commit 23acc52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ _scale(t::ScaleTransform, metric::Euclidean, x, y) = first(t.s) * evaluate(metr
1111
_scale(t::ScaleTransform, metric::Union{SqEuclidean,DotProduct}, x, y) = first(t.s)^2 * evaluate(metric, x, y)
1212
_scale(t::ScaleTransform, metric, x, y) = evaluate(metric, apply(t, x), apply(t, y))
1313

14-
printshifted(io::IO, o, shift::Int) = print(io, "$o")
14+
printshifted(io::IO, o, shift::Int) = print(io, o)
1515
Base.show(io::IO, κ::Kernel) = print(io, nameof(typeof(κ)))
1616

1717
### Syntactic sugar for creating matrices and using kernel functions

0 commit comments

Comments
 (0)