File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -623,16 +623,9 @@ using Turing
623
623
m = DynamicPPL. contextualize (
624
624
gdemo_default, ADUtils. ADTypeCheckContext (adbackend, gdemo_default. context)
625
625
)
626
- if adbackend isa AutoForwardDiff
627
- # TODO : Figure out why this is happening.
628
- # https://github.com/TuringLang/Turing.jl/issues/2369
629
- @test_throws DivideError maximum_likelihood (m; adtype= adbackend)
630
- @test_throws DivideError maximum_a_posteriori (m; adtype= adbackend)
631
- else
632
- # These will error if the adbackend being used is not the one set.
633
- maximum_likelihood (m; adtype= adbackend)
634
- maximum_a_posteriori (m; adtype= adbackend)
635
- end
626
+ # These will error if the adbackend being used is not the one set.
627
+ maximum_likelihood (m; adtype= adbackend)
628
+ maximum_a_posteriori (m; adtype= adbackend)
636
629
end
637
630
end
638
631
You can’t perform that action at this time.
0 commit comments