Skip to content
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

C++ Client: fix WAvg, fix noexcept, optimize PercentileBy, fix comments #5684

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

kosak
Copy link
Contributor

@kosak kosak commented Jun 26, 2024

Small changes in this PR:

  1. The template version of WAvg was wrong; it didn't have an initial "weight" argument. This was not detected because there is no code or test that calls this entry point. (We still don't have a test that calls it)
  2. The copy constructor and assignment operator for Aggregate should not be marked noexcept. The Visual Studio compiler (if I recall correctly) is picky about this.
  3. Rather than having two entry points for PercentileBy in TableHandleImpl, reduce it to one. And then have all the PercentileBy entry points in TableHandle call the same one.
  4. Fix some comments.

@kosak kosak self-assigned this Jun 26, 2024
@kosak kosak added NoDocumentationNeeded NoReleaseNotesNeeded No release notes are needed. labels Jun 26, 2024
jcferretti
jcferretti previously approved these changes Jun 26, 2024
@kosak kosak enabled auto-merge (squash) June 26, 2024 22:53
@kosak kosak merged commit 559d39e into deephaven:main Jun 26, 2024
14 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 26, 2024
@kosak kosak deleted the kosak_small-cleanups branch June 27, 2024 02:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants