Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "DynamicPPL"
uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8"
version = "0.36.1"
version = "0.36.2"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down
6 changes: 6 additions & 0 deletions src/test_utils/ad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const REFERENCE_ADTYPE = AutoForwardDiff()
Exception thrown when an AD backend returns an incorrect value or gradient.

The type parameter `T` is the numeric type of the value and gradient.

# Fields
$(TYPEDFIELDS)
"""
struct ADIncorrectException{T<:AbstractFloat} <: Exception
value_expected::T
Expand All @@ -41,6 +44,9 @@ Data structure to store the results of the AD correctness test.

The type parameter `Tparams` is the numeric type of the parameters passed in;
`Tresult` is the type of the value and the gradient.

# Fields
$(TYPEDFIELDS)
"""
struct ADResult{Tparams<:AbstractFloat,Tresult<:AbstractFloat}
"The DynamicPPL model that was tested"
Expand Down
Loading