File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ DynamicPPL = "366bfd00-2699-11ea-058f-f148b4cae6d8"
1212FiniteDifferences = " 26cc04aa-876d-5657-8c51-4c34ba976000"
1313ForwardDiff = " f6369f11-7733-5829-9624-2563aa707210"
1414GalacticOptim = " a75be94c-b780-496d-a8a9-0878b188d577"
15+ Libtask = " 6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f"
1516LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1617MCMCChains = " c7f686f2-ff18-58e9-bc7b-31028e88f75d"
1718Memoization = " 6fafb56a-5788-4b4e-91ca-c0cea6611c73"
Original file line number Diff line number Diff line change 77 return s, m
88end
99
10+ using Libtask
11+ Libtask. trace_into (:: typeof (gdemo)) = true
12+
1013@model gdemo_d () = begin
1114 s ~ InverseGamma (2 , 3 )
1215 m ~ Normal (0 , sqrt (s))
1619end
1720
1821gdemo_default = gdemo_d ()
22+ Libtask. trace_into (:: typeof (gdemo_d)) = true
1923
2024@model MoGtest (D) = begin
2125 mu1 ~ Normal (1 , 1 )
@@ -48,6 +52,7 @@ gdemo_default = gdemo_d()
4852end
4953
5054MoGtest_default = MoGtest ([1.0 1.0 4.0 4.0 ])
55+ Libtask. trace_into (:: typeof (MoGtest)) = true
5156
5257# Declare empty model to make the Sampler constructor work.
5358@model empty_model () = begin x = 1 ; end
You can’t perform that action at this time.
0 commit comments