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

Fix two rounding issues #250

Merged
merged 1 commit into from
Jul 1, 2019
Merged

Conversation

ajkeller34
Copy link
Collaborator

The advice added in #249 for how to round Quantitys did not actually work, owing to some special treatment of rounding rational numbers in Base. This PR fixes that and one other problem I noticed. I'm pretty sure there are other problems that remain to be found because the methods available in Base for rounding are not really consistent between real numeric types (perhaps by necessity but I have given it zero thought).

@ajkeller34 ajkeller34 merged commit 58c117c into PainterQubits:master Jul 1, 2019
@ajkeller34 ajkeller34 deleted the rounding-cleanup branch July 1, 2019 02:11
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.

None yet

1 participant