Skip to content

Commit

Permalink
fix int err
Browse files Browse the repository at this point in the history
  • Loading branch information
cactuskid committed Aug 30, 2024
1 parent f1246cb commit 1ac0469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HogProf/utils/hashutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def hash_tree(tp , taxaIndex , treeweights , wmg , lossonly = False , duplonly =
return None, None

taxaIndex_max = max(taxaIndex.values())+1
hog_matrix_weighted = np.zeros((1, 3*len(taxaIndex_max)))
hog_matrix_binary = np.zeros((1, 3*len(taxaIndex_max)))
hog_matrix_weighted = np.zeros((1, 3*taxaIndex_max))
hog_matrix_binary = np.zeros((1, 3*taxaIndex_max))
if tp:
losses = [ taxaIndex[n.name] for n in tp.traverse() if n.lost and n.name in taxaIndex ]
dupl = [ taxaIndex[n.name] for n in tp.traverse() if n.dupl and n.name in taxaIndex ]
Expand Down

0 comments on commit 1ac0469

Please sign in to comment.