namnc / circom-2-arithc

Circom interpreter to arithmetic circuit description
MIT License
33 stars 7 forks source link

fix: gates generation #4

Closed brech1 closed 5 months ago

brech1 commented 5 months ago

Description

This PR fixes the traverse_infix_op function to enable adding the gates to the ArithmeticCircuit instance. It bypasses a check to see if the variables were declared and execute the operation instead of creating corresponding gate.

It also includes some small code restructuring updates.