File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -804,7 +804,7 @@ function updated_u0_p(
804804 if u0 === missing && p === missing
805805 return state_values (prob), parameter_values (prob)
806806 end
807- if prob. f. sys === nothing
807+ if has_sys (prob . f) && prob. f. sys === nothing
808808 if interpret_symbolicmap && eltype (p) != = Union{} && eltype (p) <: Pair
809809 throw (ArgumentError (" This problem does not support symbolic maps with " *
810810 " `remake`, i.e. it does not have a symbolic origin. Please use `remake`" *
Original file line number Diff line number Diff line change @@ -261,12 +261,12 @@ eprob = EnsembleProblem(oprob)
261261@test eprob. ps[osys. p] == 0.1
262262
263263@test state_values (remake (eprob; u0 = [X => 0.1 ])) == [0.1 ]
264- @test_broken state_values (remake (eprob; u0 = [:X => 0.2 ])) == [0.2 ]
264+ @test state_values (remake (eprob; u0 = [:X => 0.2 ])) == [0.2 ]
265265@test state_values (remake (eprob; u0 = [osys. X => 0.3 ])) == [0.3 ]
266266
267- @test_broken remake (eprob; p = [d => 0.4 ]). ps[d] == 0.4
268- @test_broken remake (eprob; p = [:d => 0.5 ]). ps[d] == 0.5
269- @test_broken remake (eprob; p = [osys. d => 0.6 ]). ps[d] == 0.6
267+ @test remake (eprob; p = [d => 0.4 ]). ps[d] == 0.4
268+ @test remake (eprob; p = [:d => 0.5 ]). ps[d] == 0.5
269+ @test remake (eprob; p = [osys. d => 0.6 ]). ps[d] == 0.6
270270
271271# SteadyStateProblem Indexing
272272# Issue#660
You can’t perform that action at this time.
0 commit comments