Skip to content

Commit 9590d8c

Browse files
committed
Allow passing of keyword arguments in embedded_similarity for ChebHash to be passed along to get_cheb_coefficients.
1 parent b52aae8 commit 9590d8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/function_hashing/chebhash.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ ChebHash API
110110
========================#
111111

112112
# Compute the similarity between f and g in the embedded space
113-
function embedded_similarity(hashfn::ChebHash{:Chebyshev}, f, g)
114-
f_coeff = get_cheb_coefficients(hashfn.interval, f)
115-
g_coeff = get_cheb_coefficients(hashfn.interval, g)
113+
function embedded_similarity(hashfn::ChebHash{:Chebyshev}, f, g; kws...)
114+
f_coeff = get_cheb_coefficients(hashfn.interval, f; kws...)
115+
g_coeff = get_cheb_coefficients(hashfn.interval, g; kws...)
116116

117117
simfun = similarity(hashfn)
118118

0 commit comments

Comments
 (0)