Skip to content

Commit

Permalink
dimension_match
Browse files Browse the repository at this point in the history
  • Loading branch information
cactuskid committed Aug 30, 2024
1 parent 1ac0469 commit 5cdf2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HogProf/utils/hashutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def hash_tree(tp , taxaIndex , treeweights , wmg , lossonly = False , duplonly =
if len(indices[event])>0:

taxindex = np.asarray(indices[event])
hogindex = np.asarray(indices[event])+i*len(taxaIndex)
hogindex = np.asarray(indices[event])+i*taxaIndex_max
hog_matrix_weighted[:,hogindex] = treeweights[hogindex,:].ravel()
if lossonly == True and event == 'loss':
hog_matrix_weighted[:,hogindex] = 1
Expand Down

0 comments on commit 5cdf2d2

Please sign in to comment.