Skip to content

Commit

Permalink
Remove extra scruff
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <adam2392@gmail.com>
  • Loading branch information
adam2392 committed Aug 30, 2023
1 parent c221b2e commit ed2ebe0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pywhy_stats/kernel_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def compute_kernel(
# Note that this is added to the list of possible kernels for :func:`~sklearn.metrics.pairwise.pairwise_kernels`.
# because it is more efficient to compute the kernel over the entire matrices at once
# since numpy has vectorized operations.
# with temporarily_restrict_key("delta", PAIRWISE_KERNEL_FUNCTIONS):
with TemporarilySetKey(PAIRWISE_KERNEL_FUNCTIONS, "delta", delta_kernel):
PAIRWISE_KERNEL_FUNCTIONS["delta"] = delta_kernel

Expand Down

0 comments on commit ed2ebe0

Please sign in to comment.