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.
apply
1 parent d20fef3 commit 6b094adCopy full SHA for 6b094ad
src/kernels/transformedkernel.jl
@@ -21,7 +21,7 @@ function _scale(t::ScaleTransform, metric::Union{SqEuclidean,DotProduct}, x, y)
21
return first(t.s)^2 * evaluate(metric, x, y)
22
end
23
function _scale(t::ScaleTransform, metric, x, y)
24
- evaluate(metric, apply(t, x), apply(t, y))
+ evaluate(metric, t(x), t(y))
25
26
27
"""
0 commit comments