-
Notifications
You must be signed in to change notification settings - Fork 140
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
construct_seeds
for types where typeof(one(T)) !=T
is broken
#651
Comments
This was referenced Jun 7, 2023
If you want to get something of the same type, you should use (e.g. for a dimensionful type, |
This was referenced Sep 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
as far as i understand, the type of
one(T)
is not necessarilyT
(JuliaPhysics/Measurements.jl#134 for example). butconstruct_seeds
uses this:ForwardDiff.jl/src/partials.jl
Lines 9 to 12 in 50ec9a1
Maybe using
oneunit
there is more correct?The text was updated successfully, but these errors were encountered: