@@ -23,9 +23,7 @@ ps = MTKParameters(sys, ivs)
2323
2424ivs[a] = 1.0
2525ps = MTKParameters (sys, ivs)
26- @test_broken getp (sys, g) # SII bug
2726for (p, val) in ivs
28- isequal (p, g) && continue # broken
2927 if isequal (p, c)
3028 val = 3 ivs[a]
3129 end
@@ -67,9 +65,8 @@ setp(sys, e)(ps, 5ones(3)) # with an array
6765setp (sys, f[2 , 2 ])(ps, 42 ) # with a sub-index
6866@test getp (sys, f[2 , 2 ])(ps) == 42
6967
70- # SII bug
71- @test_broken setp (sys, g)(ps, ones (100 )) # with non-fixed-length array
72- @test_broken getp (sys, g)(ps) == ones (100 )
68+ setp (sys, g)(ps, ones (100 )) # with non-fixed-length array
69+ @test getp (sys, g)(ps) == ones (100 )
7370
7471setp (sys, h)(ps, " bar" ) # with a non-numeric
7572@test getp (sys, h)(ps) == " bar"
9188@test getp (sys, c)(newps) isa Float64
9289@test getp (sys, d)(newps) isa UInt8
9390@test getp (sys, f)(newps) isa Matrix{UInt}
94- # SII bug
95- @test_broken getp (sys, g)(newps) isa Vector{Float32}
91+ @test getp (sys, g)(newps) isa Vector{Float32}
9692
9793ps = MTKParameters (sys, ivs)
9894function loss (value, sys, ps)
0 commit comments