Skip to content

Commit

Permalink
Update addition-chain-pow.jl: typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Mar 13, 2024
1 parent 5efe8bf commit f76ae9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addition-chain-pow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
# To compute x^q in a minimal number of multiplications
# for 1 ≤ q ≤ 255, you compute x^r * x^s for
# r = power_tree[i] and s = i-q, recursively
# r = power_tree[q] and s = q-r, recursively
# (memoizing each power computation), and we implicitly
# define power_tree[0] = 0.
const power_tree = [
Expand Down

0 comments on commit f76ae9c

Please sign in to comment.