Skip to content

Commit 6b094ad

Browse files
authored
Remove apply
1 parent d20fef3 commit 6b094ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kernels/transformedkernel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function _scale(t::ScaleTransform, metric::Union{SqEuclidean,DotProduct}, x, y)
2121
return first(t.s)^2 * evaluate(metric, x, y)
2222
end
2323
function _scale(t::ScaleTransform, metric, x, y)
24-
evaluate(metric, apply(t, x), apply(t, y))
24+
evaluate(metric, t(x), t(y))
2525
end
2626

2727
"""

0 commit comments

Comments
 (0)