File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
name = " ChainRulesCore"
2
2
uuid = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
3
- version = " 0.9.27 "
3
+ version = " 0.9.28 "
4
4
5
5
[deps ]
6
6
Compat = " 34da2185-b29b-5c13-b0c7-acf172513d20"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ function define_dual_overload(sig)
32
32
opT, argTs = Iterators. peel (sig. parameters)
33
33
opT isa Type{<: Type } && return # not handling constructors
34
34
fieldcount (opT) == 0 || return # not handling functors
35
- all (Float64 <: argT for argT in argTs) || return # only handling purely Float64 ops.
35
+ all (argT isa Type && Float64 <: argT for argT in argTs) || return # only handling purely Float64 ops.
36
36
37
37
N = length (sig. parameters) - 1 # skip the op
38
38
fdef = quote
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ function define_tracked_overload(sig)
61
61
opT, argTs = Iterators. peel (sig. parameters)
62
62
opT isa Type{<: Type } && return # not handling constructors
63
63
fieldcount (opT) == 0 || return # not handling functors
64
- all (Float64 <: argT for argT in argTs) || return # only handling purely Float64 ops.
64
+ all (argT isa Type && Float64 <: argT for argT in argTs) || return # only handling purely Float64 ops.
65
65
66
66
N = length (sig. parameters) - 1 # skip the op
67
67
fdef = quote
You can’t perform that action at this time.
0 commit comments