Skip to content

Commit 86f436c

Browse files
committed
Remove unnecessary check_LpHash_power function. Fixes issue #21.
1 parent e03efb4 commit 86f436c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/hashes/lphash.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,6 @@ end
148148
Helper functions for LpHash
149149
========================#
150150

151-
# Raise an error if the power corresponding to the L^p distance function is
152-
# invalid
153-
check_LpHash_power(hashfn::LpHash) = check_LpHash_power(hashfn.power)
154-
155151
# Resize the coefficients of an LpHash to support vectors of size up to n
156152
function Base.resize!(hashfn::LpHash{T}, n::Integer) where T
157153
# If resize_pow2 is set, then change n to the next power of n larger than n

0 commit comments

Comments
 (0)