Skip to content

Commit

Permalink
remove unbounded type parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Apr 22, 2024
1 parent 0a52d64 commit 3b4b782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/differential_operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Base.show(io::IO, ::Laplacian)
print(io, "Δ")
end

function (::Laplacian)(kernel::RadialSymmetricKernel{Dim}, x) where {Dim}
function (::Laplacian)(kernel::RadialSymmetricKernel, x)
H = ForwardDiff.hessian(x -> Phi(kernel, x), x)
return tr(H)
end

0 comments on commit 3b4b782

Please sign in to comment.