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 95f88ef commit f1d04bfCopy full SHA for f1d04bf
test/units.jl
@@ -4,7 +4,7 @@ MT = ModelingToolkit
4
5
# All unit functions are now directly available from ModelingToolkit
6
# Extension automatically loads when Unitful is imported
7
-const unitless = ModelingToolkit.DQ.Quantity(1.0)
+unitless = Unitful.unit(1)
8
@independent_variables t [unit = u"ms"]
9
@parameters τ [unit = u"ms"] γ
10
@variables E(t) [unit = u"kJ"] P(t) [unit = u"MW"]
0 commit comments