Skip to content

Commit 3540b00

Browse files
test: mark initialiaztion as broken while waiting for parameter initialization
1 parent 1ddbae5 commit 3540b00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/initial_values.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ obs = X2 ~ Γ[1] - X1
5959
u0 = [X1 => 1.0, X2 => 2.0]
6060
tspan = (0.0, 1.0)
6161
ps = [k1 => 1.0, k2 => 5.0]
62-
@test_nowarn oprob = ODEProblem(osys_m, u0, tspan, ps)
62+
# Broken since we need both X1 and X2 to initialize Γ but this makes the initialization system
63+
# overdetermined because parameter initialization isn't in yet
64+
@test_warn "overdetermined" oprob = ODEProblem(osys_m, u0, tspan, ps)
6365

6466
# Make sure it doesn't error on array variables with unspecified size
6567
@parameters p::Vector{Real} q[1:3]

0 commit comments

Comments
 (0)