Skip to content

Commit

Permalink
MRG: fix comment in _set_num_scaled (#3451)
Browse files Browse the repository at this point in the history
See
#3446 (review)

Fixes comment in *code* fixed in #3446.
  • Loading branch information
ctb authored Dec 21, 2024
1 parent 2325d8d commit d299311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sourmash/sig/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _set_num_scaled(mh, num, scaled):
mh_params = list(mh.__getstate__())
# Number of hashes is 0th parameter
mh_params[0] = num
# Scale is 8th parameter
# Scale is 10th parameter
mh_params[10] = _get_max_hash_for_scaled(scaled)
mh.__setstate__(mh_params)
assert mh.num == num
Expand Down

0 comments on commit d299311

Please sign in to comment.