-
Notifications
You must be signed in to change notification settings - Fork 85
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
Arithmetic function framework refactor #1312
Conversation
executeOnValue<OPERAND_TYPE, RESULT_TYPE, FUNC, OP_WRAPPER>( | ||
operand, pos, resultValues[pos], result); | ||
executeOnValue<OPERAND_TYPE, RESULT_TYPE, FUNC, OP_WRAPPER>(operand, pos, | ||
resultValues[result.state->selVector->selectedPositions[0]], result); |
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 are we changing 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.
This is a bug in the executor.
The result and source vector may not have the same state
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.
ok. Can u then in this function create local variable inputPos and resultPos and check unaryExecute/SelectSwitch as well as unary boolean executor?
I think we have the same problem across these two places
069ede1
to
660c800
Compare
executeOnValue<OPERAND_TYPE, RESULT_TYPE, FUNC, OP_WRAPPER>( | ||
operand, pos, resultValues[pos], result); | ||
executeOnValue<OPERAND_TYPE, RESULT_TYPE, FUNC, OP_WRAPPER>(operand, pos, | ||
resultValues[result.state->selVector->selectedPositions[0]], result); |
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.
ok. Can u then in this function create local variable inputPos and resultPos and check unaryExecute/SelectSwitch as well as unary boolean executor?
I think we have the same problem across these two places
660c800
to
ea5d274
Compare
This PR refactors the current arithmetic function framework.