Skip to content

Commit f799e8e

Browse files
Update test/test_util.jl
Co-Authored-By: Lyndon White <oxinabox@ucc.asn.au>
1 parent 48e9695 commit f799e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_util.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ end
162162
function Base.isapprox(d_ad::DNE, d_fd; kwargs...)
163163
error("Tried to differentiate w.r.t. a DNE")
164164
end
165-
function Base.isapprox(d_ad::Union{Thunk,One,Zero}, d_fd; kwargs...)
165+
function Base.isapprox(d_ad::AbstractDifferential, d_fd; kwargs...)
166166
return isapprox(extern(d_ad), d_fd; kwargs...)
167167
end
168168

0 commit comments

Comments
 (0)