Skip to content

Commit

Permalink
Remove duplicate definition of KernelProduct (#487)
Browse files Browse the repository at this point in the history
* Remove duplicate definition

* Update Project.toml
  • Loading branch information
theogf authored Nov 7, 2022
1 parent 8b743dd commit 8465c1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "KernelFunctions"
uuid = "ec8451be-7e33-11e9-00cf-bbf324bd1392"
version = "0.10.49"
version = "0.10.50"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand Down
2 changes: 0 additions & 2 deletions src/kernels/kernelproduct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ end

Base.length(k::KernelProduct) = length(k.kernels)

::KernelProduct)(x, y) = prod(k(x, y) for k in κ.kernels)

function _hadamard(f, ks::Tuple, args...)
return f(first(ks), args...) .* _hadamard(f, Base.tail(ks), args...)
end
Expand Down

2 comments on commit 8465c1b

@theogf
Copy link
Member Author

@theogf theogf commented on 8465c1b Nov 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/71823

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.10.50 -m "<description of version>" 8465c1b19c3df965c7eb546a740b97e6733f5fb6
git push origin v0.10.50

Please sign in to comment.