We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f3b7c commit 5a9bdd5Copy full SHA for 5a9bdd5
src/disambiguities.jl
@@ -16,7 +16,7 @@ Base.:/(l::Number, r::AbstractDimensions) = error("Please use an `UnionAbstractQ
16
if VERSION < v"1.7"
17
for I in (Base.MultiplicativeInverses.UnsignedMultiplicativeInverse, Base.MultiplicativeInverses.SignedMultiplicativeInverse)
18
@eval function Base.div(x::T, y::$I{T}, r::RoundingMode=RoundToZero) where {T<:AbstractGenericQuantity}
19
- return new_quantity(typeof(x), div(ustrip(x), ustrip(y), r), dimension(x) / dimension(y))
+ return new_quantity(typeof(x), div(ustrip(x), y, r), dimension(x))
20
end
21
22
0 commit comments