-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: clean up translator circuit builder function definitions #10944
Conversation
…it-builder-cleanup
@@ -58,12 +58,14 @@ TEST(TranslatorCircuitBuilder, CircuitBuilderBaseCase) | |||
|
|||
Fq previous_accumulator = Fq::random_element(); | |||
|
|||
// Create a circuit builder | |||
auto circuit_builder = TranslatorCircuitBuilder(v, x); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the point in moving this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
none anymore as I made the functions below static
* | ||
* @details Translator Circuit Builder builds a circuit the purpose of which is to calculate the batched | ||
* @details Translator Circuit Builder builds a circuit whose purpose is to calculate the batched |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
Some of the core functions in
TranslatorCircuitBuilder
were not actually defined as part of the class. This PR addresses it, which removes the need to resolve the scope of member variables in the class, when used in those functions, and constified / staticfied function signatures where appropriate