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

Support Unitful in element construction #93

Merged
merged 2 commits into from
Jan 26, 2023
Merged

Support Unitful in element construction #93

merged 2 commits into from
Jan 26, 2023

Conversation

martinholters
Copy link
Member

For example:

julia> using ACME, Unitful

julia> resistor(4.7e3) == resistor(4.7u"")
true

Note that this requires Julia 1.9 as it uses a package extension.

Closes #17.

@martinholters martinholters changed the title Support Unitful in element construction. Support Unitful in element construction Jan 26, 2023
@martinholters martinholters merged commit 5a0ebcf into main Jan 26, 2023
@martinholters martinholters deleted the mh/units branch January 26, 2023 10:10
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.

No Unitful support
1 participant