File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11name = " AdvancedPS"
22uuid = " 576499cb-2369-40b2-a588-c64705576edc"
33authors = [" TuringLang" ]
4- version = " 0.5.3 "
4+ version = " 0.5.4 "
55
66[deps ]
77AbstractMCMC = " 80f14c24-f653-4e6a-9b94-39d6b0f70001"
Original file line number Diff line number Diff line change @@ -32,8 +32,13 @@ function AdvancedPS.LibtaskModel(
3232 )
3333end
3434
35+ """
36+ copy(model::AdvancedPS.LibtaskModel)
37+
38+ The task is copied (forked) and the inner model is deepcopied.
39+ """
3540function Base. copy (model:: AdvancedPS.LibtaskModel )
36- return AdvancedPS. LibtaskModel (model. f, copy (model. ctask))
41+ return AdvancedPS. LibtaskModel (deepcopy ( model. f) , copy (model. ctask))
3742end
3843
3944const LibtaskTrace{R} = AdvancedPS. Trace{<: AdvancedPS.LibtaskModel ,R}
You can’t perform that action at this time.
0 commit comments