Skip to content

Conversation

@kroenlein
Copy link
Collaborator

Pint will convert between various expressions of non-dimensional numbers, even when the base derived units aren't quite compatible. This puts guardrails around this, throwing the conversion-error exception as normal conversion issues.

Copy link
Contributor

@anoto-moniz anoto-moniz left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me.

@kroenlein kroenlein merged commit 3596c7f into main Feb 2, 2024
@kroenlein kroenlein deleted the maintain/derived-unit-guards branch February 2, 2024 21: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.

3 participants