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
Adding IntegrationFunction class. This represents an under-constructi… #167
Adding IntegrationFunction class. This represents an under-constructi… #167
Conversation
…on merged function and includes bookkeeping to track which original-function nodes map to which integration-function nodes. Currently for an IntegrationFunction, inputs are tuples where each tuple corresponds to the inputs of one of the source functions.
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.
Just some minor suggestions.
…on merged function and includes bookkeeping to track which original-function nodes map to which integration-function nodes. Currently for an IntegrationFunction, inputs are tuples where each tuple corresponds to the inputs of one of the source functions.
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.
Thanks!
std::move(IntegrationFunction::MakeIntegrationFunctionWithParamTuples( | ||
p.get(), {func_a, func_b}))); | ||
|
||
auto GetTupleIndexWithNumBits = [&](long int num_bits) { |
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.
JFYI, our linter complains that long int
is ideally written as int64
so changed on merge.
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.
Sounds good.
Can one of the folks with merge-button-pressing authority please press the merge button? |
JFYI @jbaileyhandle re: process we generally can't use the merge button because we're using downstream source control as the "source of truth", so the Copybara bot tries to automerge it downstream (behind a manual step or two) and if there are any issues (like downstream linter or what have you) they get manually resolved by the "build czar" for the week (on a rotation). Once it's committed downstream it pushes back out and closes the PR as merged. |
@cdleary Interesting, thanks for letting me know. |
…on merged function and includes bookkeeping to track which original-function nodes map to which integration-function nodes. Currently for an IntegrationFunction, inputs are tuples where each tuple corresponds to the inputs of one of the source functions.