Skip to content

Commit d1a9f5b

Browse files
mzgubicoxinabox
andauthored
Update src/tangent_types/tangent.jl
Co-authored-by: Lyndon White <oxinabox@ucc.asn.au>
1 parent 1ce68f8 commit d1a9f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tangent_types/tangent.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct Tangent{P,T} <: AbstractTangent
3131
T <: Tuple || _backing_error(P, T, Tuple)
3232
elseif P <: AbstractDict
3333
T <: AbstractDict || _backing_error(P, T, AbstractDict)
34-
elseif P == Any # can be anything
34+
elseif P === Any # can be anything
3535
else # Any other struct (including NamedTuple)
3636
T <: NamedTuple || _backing_error(P, T, NamedTuple)
3737
end

0 commit comments

Comments
 (0)