Skip to content

Commit a23e7f0

Browse files
shashiYingboMa
andcommitted
fixes
Co-authored-by: "Yingbo Ma" <mayingbo5@gmail.com>
1 parent aed95d7 commit a23e7f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/variable_utils.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ new = (((1 / β - 1) + δ) / γ) ^ (1 / (γ - 1))
1717

1818
# test namespace_expr
1919
@parameters t a p(t)
20-
pterm = p.val
20+
pterm = value(p)
2121
pnsp = ModelingToolkit.namespace_expr(pterm, :namespace, :t)
2222
@test typeof(pterm) == typeof(pnsp)
2323
@test ModelingToolkit.getname(pnsp) == Symbol("namespace₊p")
24-
asym = a.val
24+
asym = value(a)
2525
ansp = ModelingToolkit.namespace_expr(asym, :namespace, :t)
2626
@test typeof(asym) == typeof(ansp)
2727
@test ModelingToolkit.getname(ansp) == Symbol("namespace₊a")

0 commit comments

Comments
 (0)