We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5f9f47 commit e316a9bCopy full SHA for e316a9b
src/transforms/absoluteunits.jl
@@ -40,7 +40,7 @@ isrevertible(::Type{<:AbsoluteUnits}) = true
40
41
_absunit(x) = _absunit(x, nonmissingtype(eltype(x)))
42
_absunit(x, ::Type) = (x, NoUnits)
43
-_absunit(x, ::Type{Q}) where {Q<:AbstractQuantity} = (x, unit(Q))
+_absunit(x, ::Type{Q}) where {Q<:AbstractQuantity} = (x, unit(Q))
44
function _absunit(x, ::Type{Q}) where {Q<:AffineQuantity}
45
u = unit(Q)
46
a = absoluteunit(u)
0 commit comments