-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
No cachedrule for DynamicQuantities types #88
Comments
You need to provide a way to strip the units from the type. Currently, we use: Lines 571 to 572 in cb745d4
which assumes that See e.g. JuliaPhysics/Measurements.jl#134 |
Thanks! I'll see what I can do to get these packages working together. |
Closing in favor of SymbolicML/DynamicQuantities.jl#40 |
Concur. Looks like this is due to DynamicQuantities’ current interpretation of the |
I just started experimenting with the recent DynamicQuantities.jl package, which aims to provide the same functionality as Unitful.jl but with a statically-typed
Quantity
to improve performance. It looks likeQuadGK
currently doesn't support these DynamicQuantitiesQuantity
types, but I'm not familiar enough with the codebase to quite understand why.I'm interested in contributing by generating a PR for this, but would really appreciate a nudge in the right direction. It looks like the issue spawns from approximately here, where either a
@generated
cachedrule
isn't being produced at compile-time or maybe the genericcachedrule
below it isn't working.Any ideas that might help me understand what I can do to help integrate this functionality?
Thanks,
Mike
Minimal reproduction (Julia v1.9.3):
The text was updated successfully, but these errors were encountered: