Skip to content

Commit 20f4d56

Browse files
committed
remove unbound type parameter (?)
1 parent 9eef762 commit 20f4d56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test_utils/ad.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ struct ADResult{Tparams<:AbstractFloat,Tresult<:AbstractFloat,Ttol<:AbstractFloa
103103
"The expected gradient of logp"
104104
grad_expected::Union{Nothing,Vector{Tresult}}
105105
"The value of logp (calculated using `adtype`)"
106-
value_actual::Union{Nothing,Tresult}
106+
value_actual::Tresult
107107
"The gradient of logp (calculated using `adtype`)"
108-
grad_actual::Union{Nothing,Vector{Tresult}}
108+
grad_actual::Vector{Tresult}
109109
"If benchmarking was requested, the time taken by the AD backend to calculate the gradient of logp, divided by the time taken to evaluate logp itself"
110110
time_vs_primal::Union{Nothing,Tresult}
111111
end

0 commit comments

Comments
 (0)