Skip to content

Commit

Permalink
fix precedence in multiproof.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mratsim authored Aug 15, 2024
1 parent 2332ab8 commit d8a393a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiproof/multiproof.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def check_multiproof(self, transcript: Transcript, queries: List[VerifierQuery],
z = query.z.value
y = query.y
# TODO: clean this up, its not very readable
E_coefficient = power_of_r / t - self.precomp.domain[z]
E_coefficient = power_of_r / (t - self.precomp.domain[z])
C_serialized = bytes(C.to_bytes())
C_by_serialized[C_serialized] = C
E_coefficients[C_serialized] = E_coefficient if C_serialized not in E_coefficients \
Expand Down

0 comments on commit d8a393a

Please sign in to comment.