Skip to content

Commit cf89a29

Browse files
committed
test fix
1 parent c82c80e commit cf89a29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/network_analysis/network_properties.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,8 @@ let
474474
numeqs[i] = substitute(eqs[i], ratemap)
475475
end
476476
# Broken but the difference is just numerical, something on the order of 1e-17 times a term
477-
@test_broken all(iszero, simplify(numeqs - S*K*Φ))
478-
@test_broken all(iszero, simplify(numeqs - Y*A_k*Φ))
477+
@test all(iszero, simplify(numeqs - S*K*Φ))
478+
@test all(iszero, simplify(numeqs - Y*A_k*Φ))
479479

480480
numeqs_ncr = similar(eq_ncr)
481481
for i in 1:length(eq_ncr)
@@ -503,6 +503,6 @@ let
503503
@test isapprox(numeqs, Y*A_k*Φ)
504504

505505
numeqs_ncr = [substitute(eq, u0map) for eq in numeqs_ncr]
506-
@test isapprox(numeqs_ncr - S*K*Φ_2)
507-
@test isapprox(numeqs_ncr - Y*A_k*Φ_2)
506+
@test isapprox(numeqs_ncr, S*K*Φ_2)
507+
@test isapprox(numeqs_ncr, Y*A_k*Φ_2)
508508
end

0 commit comments

Comments
 (0)