Skip to content

Commit 13ecc1f

Browse files
test: fix bad remake test
1 parent 82bee0c commit 13ecc1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/downstream/modelingtoolkit_remake.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ end
329329

330330
newp = remake_buffer(sccprob.f.sys, sccprob.p, [σ], [3.0])
331331
sccprob4 = remake(sccprob; parameters_alias = false, p = newp,
332-
probs = [remake(sccprob.probs[1]; p = => 3.0]), sccprob.probs[2]])
332+
probs = [remake(sccprob.probs[1]; p = deepcopy(newp)), sccprob.probs[2]])
333333
@test !sccprob4.parameters_alias
334334
@test sccprob4.p !== sccprob4.probs[1].p
335335
@test sccprob4.p !== sccprob4.probs[2].p

0 commit comments

Comments
 (0)