Skip to content

Commit

Permalink
Fix linting issue in module.
Browse files Browse the repository at this point in the history
  • Loading branch information
lapets committed Nov 8, 2023
1 parent d02f139 commit f89d53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tinynmc/tinynmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def preprocessing(signature, nodes):
for exponent in randoms
]))

for i in range(len(nodes)):
nodes[i].correlate(signature, node_to_exponent_shares[i], node_to_factor_shares[i])
for (i, n) in enumerate(nodes):
n.correlate(signature, node_to_exponent_shares[i], node_to_factor_shares[i])

def masked_factors(coords_to_values, masks_from_nodes):
"""
Expand Down

0 comments on commit f89d53f

Please sign in to comment.