Skip to content

Commit

Permalink
fix: typo in circuit compilar
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersuweijie committed Oct 18, 2024
1 parent 2b31b9e commit 0d88c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/modal/compile-circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def compile_circuit(slug: str):
print(f"Number of non-linear constraints: {non_linear_constraints}")
else:
print("Could not find non-linear constraints in the output")
power = math.max(math.floor(math.log(non_linear_constraints, 2)), 22)
power = max(math.floor(math.log(non_linear_constraints, 2)), 22)

# check if the power of tau exists
if not os.path.exists(f"/powersOfTau28_hez_final_{power}.ptau"):
Expand Down

0 comments on commit 0d88c36

Please sign in to comment.