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

small changes in the update single and update weighted methods. #489

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

leerho
Copy link
Contributor

@leerho leerho commented Jan 8, 2024

This fixes a problem where the update to min and max might not occur on merging.

This also simplifies the code and the number of checks in the update path.

This fixes a problem where the update to min and max might not occur on
merging.

This also simplifies the code and the number of checks in the update
path.
Copy link
Contributor

@jmalkin jmalkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think I'd realized we were farming off update to a helper class. Java seems so much more complex than C++!

Anyway, this seems fine.

@leerho leerho merged commit 4e906b2 into master Jan 9, 2024
4 checks passed
@leerho leerho deleted the minor_fix_to_weighted_update_double branch January 9, 2024 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants