File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -444,10 +444,10 @@ function build_output(model_info)
444
444
@gensym (evaluator, generator)
445
445
generator_kw_form = isempty (args) ? () : (:($ generator (;$ (args... )) = $ generator ($ (arg_syms... ))),)
446
446
model_gen_constructor = :(DynamicPPL. ModelGen {$(Tuple(arg_syms))} ($ generator, $ defaults_nt))
447
-
447
+
448
448
ex = quote
449
449
function $evaluator (
450
- $ model:: Model ,
450
+ $ model:: DynamicPPL. Model ,
451
451
$ vi:: DynamicPPL.VarInfo ,
452
452
$ sampler:: DynamicPPL.AbstractSampler ,
453
453
$ ctx:: DynamicPPL.AbstractContext ,
@@ -456,11 +456,10 @@ function build_output(model_info)
456
456
DynamicPPL. resetlogp! ($ vi)
457
457
$ main_body
458
458
end
459
-
460
459
461
460
$ generator ($ (args... )) = DynamicPPL. Model ($ evaluator, $ args_nt, $ model_gen_constructor)
462
461
$ (generator_kw_form... )
463
-
462
+
464
463
$ model_gen = $ model_gen_constructor
465
464
end
466
465
You can’t perform that action at this time.
0 commit comments