Skip to content

Commit f1d04bf

Browse files
Update test/units.jl
1 parent 95f88ef commit f1d04bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/units.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MT = ModelingToolkit
44

55
# All unit functions are now directly available from ModelingToolkit
66
# Extension automatically loads when Unitful is imported
7-
const unitless = ModelingToolkit.DQ.Quantity(1.0)
7+
unitless = Unitful.unit(1)
88
@independent_variables t [unit = u"ms"]
99
@parameters τ [unit = u"ms"] γ
1010
@variables E(t) [unit = u"kJ"] P(t) [unit = u"MW"]

0 commit comments

Comments
 (0)