Skip to content

Commit

Permalink
Use pickle.HIGHEST_PROTOCOL
Browse files Browse the repository at this point in the history
Closes #6
  • Loading branch information
scottgigante authored Apr 12, 2022
1 parent 35c6dd6 commit 72a395e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiscale_phate/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def hash_object(X):
Description of returned object.
"""
return hash(pickle.dumps(X))
return hash(pickle.dumps(X, protocol=pickle.HIGHEST_PROTOCOL))

0 comments on commit 72a395e

Please sign in to comment.