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 1
1
name = " AdvancedPS"
2
2
uuid = " 576499cb-2369-40b2-a588-c64705576edc"
3
3
authors = [" TuringLang" ]
4
- version = " 0.5.3 "
4
+ version = " 0.5.4 "
5
5
6
6
[deps ]
7
7
AbstractMCMC = " 80f14c24-f653-4e6a-9b94-39d6b0f70001"
Original file line number Diff line number Diff line change @@ -32,8 +32,13 @@ function AdvancedPS.LibtaskModel(
32
32
)
33
33
end
34
34
35
+ """
36
+ copy(model::AdvancedPS.LibtaskModel)
37
+
38
+ The task is copied (forked) and the inner model is deepcopied.
39
+ """
35
40
function Base. copy (model:: AdvancedPS.LibtaskModel )
36
- return AdvancedPS. LibtaskModel (model. f, copy (model. ctask))
41
+ return AdvancedPS. LibtaskModel (deepcopy ( model. f) , copy (model. ctask))
37
42
end
38
43
39
44
const LibtaskTrace{R} = AdvancedPS. Trace{<: AdvancedPS.LibtaskModel ,R}
You can’t perform that action at this time.
0 commit comments