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(pint>=0.20) use pint.Quantity for isintance check instead of pint.quantity._Quantity #265

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

hassec
Copy link
Contributor

@hassec hassec commented Aug 16, 2023

Fixes #263

This should even be backwards compatible because in older pint versions
pint.Quantity is just pointing to pint.quantity._Quantity.

I tested make test_physics with pint==0.19 and pint==0.22 and the tests passed in both cases.

@orso82 orso82 merged commit 0cd6e21 into gafusion:master Aug 16, 2023
1 check passed
@orso82
Copy link
Member

orso82 commented Aug 16, 2023

Fantastic! Thanks!

@hassec do you use the pint functionality in OMAS? #264

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.

Test failure with pint>=0.20
2 participants