Skip to content

Commit 997f1ed

Browse files
test: fix dynamic opt test
1 parent 95fbaa4 commit 997f1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extensions/dynamic_optimization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ end
243243
D = M.D_nounits
244244

245245
@parameters h_c m₀ h₀ g₀ D_c c Tₘ m_c
246-
@variables h(..) v(..) m(..) [bounds = (m_c, 1)] T(..) [input = true, bounds = (0, Tₘ)]
246+
@variables h(..) v(..) m(..) = m₀ [bounds = (m_c, 1)] T(..) [input = true, bounds = (0, Tₘ)]
247247
drag(h, v) = D_c * v^2 * exp(-h_c * (h - h₀) / h₀)
248248
gravity(h) = g₀ * (h₀ / h)
249249

0 commit comments

Comments
 (0)