File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -68,20 +68,20 @@ julia> model = model_with_random_support();
68
68
julia> # Typed varinfo cannot handle this random support model properly
69
69
# as using a single execution of the model will not see all random variables.
70
70
# Hence, this this model requires untyped varinfo.
71
- varinfo = determine_suitable_varinfo(model);
71
+ vi = determine_suitable_varinfo(model);
72
72
┌ Warning: Model seems incompatible with typed varinfo. Falling back to untyped varinfo.
73
- └ @ DynamicPPLJETExt ~/ Projects/public/DynamicPPL.jl/ext/DynamicPPLJETExt.jl:49
73
+ └ @ DynamicPPLJETExt /drive-2/ Projects/public/DynamicPPL.jl/ext/DynamicPPLJETExt.jl:48
74
74
75
- julia> varinfo isa typeof(DynamicPPL.untyped_varinfo(model))
75
+ julia> vi isa typeof(DynamicPPL.untyped_varinfo(model))
76
76
true
77
77
78
78
julia> # In contrast, a simple model with no random support can be handled by typed varinfo.
79
79
@model model_with_static_support() = x ~ Normal()
80
80
model_with_static_support (generic function with 2 methods)
81
81
82
- julia> varinfo = determine_suitable_varinfo(model_with_static_support());
82
+ julia> vi = determine_suitable_varinfo(model_with_static_support());
83
83
84
- julia> varinfo isa typeof(DynamicPPL.typed_varinfo(model_with_static_support()))
84
+ julia> vi isa typeof(DynamicPPL.typed_varinfo(model_with_static_support()))
85
85
true
86
86
```
87
87
"""
You can’t perform that action at this time.
0 commit comments