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

Use truncated subtraction in assignCoinsToChangeMaps. #4123

Conversation

jonathanknowles
Copy link
Member

@jonathanknowles jonathanknowles commented Sep 7, 2023

Issues

Description

This PR replaces the use of Coin.distance with Monus.<\>, which (in the case of Coin arguments) performs truncated subtraction of the second argument from the first.

This commit replaces the use of `Coin.distance` with `Monus.<\>`, which
performs truncated subtraction of the second argument from the first.
@jonathanknowles jonathanknowles added this pull request to the merge queue Sep 7, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 7, 2023
@jonathanknowles jonathanknowles added this pull request to the merge queue Sep 7, 2023
Merged via the queue into master with commit e873d7a Sep 7, 2023
2 checks passed
@jonathanknowles jonathanknowles deleted the jonathanknowles/replace-distance-with-monus-in-coin-selection branch September 7, 2023 13:27
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