We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
julia> uconvert(u"1/km", 3.0u"1/m") ERROR: MethodError: no method matching uconvert(::Quantity{Int64, 𝐋^-1, Unitful.FreeUnits{(km^-1,), 𝐋^-1, nothing}}, ::Quantity{Float64, 𝐋^-1, Unitful.FreeUnits{(m^-1,), 𝐋^-1, nothing}})
Is this supposed to work? Why not?
The text was updated successfully, but these errors were encountered:
This doesn’t work because u"1/km" is a quantity, not a unit. You can use u"km^-1" instead.
u"1/km"
u"km^-1"
Sorry, something went wrong.
Thanks.
An error-message hint (Base.Experimental.register_error_hint) might be helpful here.
Base.Experimental.register_error_hint
No branches or pull requests
Is this supposed to work? Why not?
The text was updated successfully, but these errors were encountered: