datasketch
datasketch copied to clipboard
Add the hashfunc check to minhash.py
Add the following code to jaccard of MinHash
if other.hashfunc != self.hashfunc:
raise ValueError("Cannot compute Jaccard given MinHash with\
different hashfuncs")
Thanks! Can you make a pull request for this change?