Skip to content

Commit 9e7247b

Browse files
Update src/systems/unit_check.jl
1 parent 85ae964 commit 9e7247b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/systems/unit_check.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ end
6161
const unitless = DQ.Quantity(1.0)
6262
get_literal_unit(x) = screen_unit(something(__get_literal_unit(x), unitless))
6363

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-
6964
"""
7065
Find the unit of a symbolic item.
7166
"""

0 commit comments

Comments
 (0)