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 85ae964 commit 9e7247bCopy full SHA for 9e7247b
src/systems/unit_check.jl
@@ -61,11 +61,6 @@ end
61
const unitless = DQ.Quantity(1.0)
62
get_literal_unit(x) = screen_unit(something(__get_literal_unit(x), unitless))
63
64
-# Get unit value of a quantity (oneunit functionality)
65
-oneunit(x::DQ.AbstractQuantity) = DQ.Quantity(1.0, DQ.dimension(x))
66
-oneunit(x::Real) = unitless
67
-oneunit(x) = get_unit(x)
68
-
69
"""
70
Find the unit of a symbolic item.
71
0 commit comments